<?php
/**
 * Link         :   http://www.phpcorner.net
 * User         :   qingbing<780042175@qq.com>
 * Date         :   2018-10-27
 * Version      :   1.0
 */

namespace Test;

use TestClass\FactoryDemo;
use TestCore\Tester;

/**
 * 测试工厂模式
 * Class Factory
 * @package Test
 */
class TestFactory extends Tester
{
    /**
     * 执行函数
     * @return mixed|void
     */
    public function run()
    {
        FactoryDemo::getInstance()->test();
    }
}