Ejemplo n.º 1
0
 public function __set($field, $value)
 {
     static $callParent = NULL;
     if ($callParent === NULL) {
         $callParent = is_callable(['parent', '__set']);
     }
     if (property_exists(__CLASS__, '____' . $field)) {
         (new FieldWrite(Kernel::getContainer(), $this, __CLASS__, $this->{'____' . $field}, $field, self::{'K2FieldWrite_' . $field}(), $value))->invokeInterceptors();
     } elseif ($callParent) {
         parent::__set($field, $value);
     }
 }
Ejemplo n.º 2
0
 protected function bindInitialInstances(ContainerInterface $container)
 {
     parent::bindInitialInstances($container);
     $this->testLoader->performInitialization($container);
 }
Ejemplo n.º 3
0
 public function __construct($projectDirectory)
 {
     $this->projectDirectory = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $projectDirectory);
     parent::__construct('development');
 }