示例#1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('initializationTracker'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocblock('@var bool tracks initialization status - true while the object is initializing');
     $this->setDefaultValue(false);
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('methodPrefixInterceptors'));
     $this->setDefaultValue(array());
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocblock('@var \\Closure[] map of interceptors to be called per-method before execution');
 }
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\Configuration\PropertyGenerator\BeanPostProcessorsProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('postProcessors'));
     $this->setDefaultValue([]);
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocBlock('@var ' . \bitExpert\Disco\BeanFactoryPostProcessor::class . '[]');
 }
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\Configuration\PropertyGenerator\ParameterValuesProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('parameterValues'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDefaultValue([]);
     $this->setDocBlock('@var array Collection of scalar values which can be injected into beans');
 }
 /**
  * Constructor
  *
  * @param Properties $properties
  */
 public function __construct(Properties $properties)
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('protectedProperties'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setStatic(true);
     $this->setDocblock('@var string[][] declaring class name of defined protected properties, indexed by property name');
     $this->setDefaultValue($this->getMap($properties));
 }
 /**
  * Constructor
  *
  * @param Properties $properties
  */
 public function __construct(Properties $properties)
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('privateProperties'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setStatic(true);
     $this->setDocBlock('@var array[][] visibility and default value of defined properties, indexed by property name and class name');
     $this->setDefaultValue($this->getMap($properties));
 }
示例#7
0
 /**
  * @param \ReflectionClass $originalClass
  */
 public function __construct(ReflectionClass $originalClass)
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('publicProperties'));
     foreach ($originalClass->getProperties(ReflectionProperty::IS_PUBLIC) as $publicProperty) {
         $this->publicProperties[$publicProperty->getName()] = true;
     }
     $this->setDefaultValue($this->publicProperties);
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setStatic(true);
     $this->setDocblock('@var bool[] map of public properties of the parent class');
 }
示例#8
0
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\Configuration\PropertyGenerator\SessionBeansProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('sessionBeans'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocBlock('@var ' . \bitExpert\Disco\Store\BeanStore::class);
 }
示例#9
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('initializer'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocblock('@var \\Closure|null initializer responsible for generating the wrapped object');
 }
示例#10
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('adapter'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocblock('@var \\' . AdapterInterface::class . ' Remote web service adapter');
 }
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\Configuration\PropertyGenerator\BeanFactoryConfigurationProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('config'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocBlock('@var ' . BeanFactoryConfiguration::class);
 }
示例#12
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('adapter'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocblock('@var \\ProxyManager\\Factory\\RemoteObject\\AdapterInterface Remote web service adapter');
 }
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\LazyBean\PropertyGenerator\ValueHolderBeanIdProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('valueHolderBeanId'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocBlock('@var \\string beanId');
 }
示例#14
0
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\Configuration\PropertyGenerator\AliasesProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('aliases'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocBlock('@var array contains a list of aliases and their bean references');
 }
示例#15
0
 /**
  * Creates a new {@link \bitExpert\Disco\Proxy\Configuration\PropertyGenerator\ForceLazyInitProperty}.
  *
  * @throws InvalidArgumentException
  */
 public function __construct()
 {
     parent::__construct(UniqueIdentifierGenerator::getIdentifier('forceLazyInit'));
     $this->setVisibility(self::VISIBILITY_PRIVATE);
     $this->setDocBlock('@var bool flag to toggle if a bean gets wrapped by a LazyProxy or not');
 }