예제 #1
0
 /**
  * @param string $id
  * @param PrototypesInterface $prototypes
  */
 public function __construct($id, PrototypesInterface $prototypes)
 {
     parent::__construct($id, null, $prototypes);
 }
예제 #2
0
 /**
  * @param int $level
  * @return Container
  */
 public function getParent($level = 1)
 {
     return $this->context->getParent($level);
 }
예제 #3
0
 /**
  * FormContext constructor.
  * @param ServicesInterface $services
  * @param string $formId
  * @param PrototypesInterface $prototypes
  */
 public function __construct(ServicesInterface $services, $formId, PrototypesInterface $prototypes)
 {
     parent::__construct($formId, null, $prototypes);
     $this->services = $services;
 }