Zephir\ClassDefinition::__construct PHP Method

__construct() public method

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();
    }