<?php

namespace Planaday\Html\Tags\Admin\Form;

use Planaday\Html\Tags\Admin\Form\AdminOptionInput\AdminOptionInput;
use Planaday\Html\Tags\Admin\Form\OptionGroupArea\OptionGroupArea;
use Planaday\Html\Tags\TagHandlerTemplate;
use Planaday\Utility\DependencyInjection\ComponentRegistry;

class AdminFormTagHandler extends TagHandlerTemplate {

	public function __construct() {
		$this->tags = [
			OptionGroupArea::TAG  => function ( ComponentRegistry $registry ) {
				return new OptionGroupArea( $registry );
			},
			AdminOptionInput::TAG => function ( ComponentRegistry $registry ) {
				return new AdminOptionInput( $registry );
			},
		];

		$this->tagHandlers = [

		];
	}
}