PHPCfg\Op\Stmt\ClassLike::__construct PHP Méthode

__construct() public méthode

public __construct ( $name, Block $stmts, array $attributes = [] )
$stmts PHPCfg\Block
$attributes array
    public function __construct($name, Block $stmts, array $attributes = [])
    {
        parent::__construct($attributes);
        $this->name = $this->addReadRef($name);
        $this->stmts = $stmts;
    }

Usage Example

Exemple #1
0
 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;
 }
All Usage Examples Of PHPCfg\Op\Stmt\ClassLike::__construct