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);
     }
 }
Exemple #2
0
 protected function bindInitialInstances(ContainerInterface $container)
 {
     parent::bindInitialInstances($container);
     $this->testLoader->performInitialization($container);
 }
Exemple #3
0
 public function __construct($projectDirectory)
 {
     $this->projectDirectory = str_replace(['/', '\\'], DIRECTORY_SEPARATOR, $projectDirectory);
     parent::__construct('development');
 }