public function __construct($name, $type, $extends, array $implements, Block $stmts, array $attributes = []) { parent::__construct($name, $stmts, $attributes); $this->type = $type; $this->extends = $extends; $this->implements = $implements; }