<?php

namespace Planaday\Html\Tags\Generic;

use Planaday\Html\Tags\TagHandlerTemplate;
use Planaday\Utility\DependencyInjection\Container;

class GenericTagHandler extends TagHandlerTemplate {
	public function __construct() {
		$this->tags = [
			GenericScriptTag::TAG => function ( Container $registry ) {
				return new GenericScriptTag( $registry );
			},
			GenericStyleTag::TAG  => function ( Container $registry ) {
				return new GenericStyleTag( $registry );
			}
		];
	}
}