public function __construct(\PhpParser\Node\Stmt $statement, Context $context) { parent::__construct(); $this->context = $context; $this->statement = $statement; }
/** * Base constructor. * * @param AbstractUser $user */ public function __construct(AbstractUser $user) { $this->user = $user; parent::__construct(); }
public function __construct(\PhpParser\NodeAbstract $scalar, Context $context) { parent::__construct(); $this->context = $context; $this->scalar = $scalar; }
public function __construct(\PhpParser\NodeAbstract $expression, Context $context) { parent::__construct(); $this->context = $context; $this->expression = $expression; }
public function __construct(File $file) { $this->file = $file; $this->storage = $file->getStorage(); parent::__construct(); }