__construct() публичный Метод

public __construct ( $eventData = null )
Пример #1
0
 public function __construct(\PhpParser\Node\Stmt $statement, Context $context)
 {
     parent::__construct();
     $this->context = $context;
     $this->statement = $statement;
 }
Пример #2
0
 /**
  * Base constructor.
  *
  * @param AbstractUser $user
  */
 public function __construct(AbstractUser $user)
 {
     $this->user = $user;
     parent::__construct();
 }
Пример #3
0
 public function __construct(\PhpParser\NodeAbstract $scalar, Context $context)
 {
     parent::__construct();
     $this->context = $context;
     $this->scalar = $scalar;
 }
Пример #4
0
 public function __construct(\PhpParser\NodeAbstract $expression, Context $context)
 {
     parent::__construct();
     $this->context = $context;
     $this->expression = $expression;
 }
Пример #5
0
 public function __construct(File $file)
 {
     $this->file = $file;
     $this->storage = $file->getStorage();
     parent::__construct();
 }