Inheritance: extends PHPCfg\Op\Stmt
コード例 #1
0
ファイル: Class_.php プロジェクト: RustJason/php-cfg
 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;
 }
コード例 #2
0
ファイル: Interface_.php プロジェクト: ircmaxell/php-cfg
 public function __construct($name, array $extends, Block $stmts, array $attributes = [])
 {
     parent::__construct($name, $stmts, $attributes);
     $this->extends = $extends;
 }
コード例 #3
0
ファイル: Trait_.php プロジェクト: ircmaxell/php-cfg
 public function __construct($name, Block $stmts, array $attributes = [])
 {
     parent::__construct($name, $stmts, $attributes);
     $this->name = $this->addReadRef($name);
     $this->stmts = $stmts;
 }