Zephir\ClassDefinition::__construct PHP 메소드

__construct() 공개 메소드

ClassDefinition
public __construct ( string $namespace, string $name, string $shortName = null )
$namespace string
$name string
$shortName string
    public function __construct($namespace, $name, $shortName = null)
    {
        $this->namespace = $namespace;
        $this->name = $name;
        $this->shortName = $shortName ?: $name;
        $this->eventsManager = new EventsManager();
    }