PHPSA\Definition\ClassDefinition::__construct PHP Method

__construct() public method

public __construct ( string $name, Class_ $statement = null, integer $type )
$name string
$statement PhpParser\Node\Stmt\Class_
$type integer
    public function __construct($name, Node\Stmt\Class_ $statement = null, $type = 0)
    {
        $this->name = $name;
        $this->statement = $statement;
        $this->type = $type;
    }