<?php

namespace Planaday\Html\Tags\Admin\Pages;

use Planaday\Html\Tags\Admin\Pages\CSS\CSS;
use Planaday\Html\Tags\Admin\Pages\Database\Database;
use Planaday\Html\Tags\Admin\Pages\Support\Support;
use Planaday\Html\Tags\Admin\Pages\Welcome\Welcome;
use Planaday\Html\Tags\TagHandlerTemplate;
use Planaday\Utility\DependencyInjection\Container;

class PageTagHandler extends TagHandlerTemplate {

	public function __construct() {
		$this->tags = [
			Welcome::TAG         => function ( Container $registry ) {
				return new Welcome( $registry );
			},
			Support::TAG         => function ( Container $registry ) {
				return new Support( $registry );
			},
			Database::TAG        => function ( Container $registry ) {
				return new Database( $registry );
			},
			CSS::TAG             => function ( Container $registry ) {
				return new CSS( $registry );
			}
		];
	}
}