本文整理汇总了PHP中Zend\Code\Generator\PropertyGenerator::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP PropertyGenerator::__construct方法的具体用法?PHP PropertyGenerator::__construct怎么用?PHP PropertyGenerator::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Zend\Code\Generator\PropertyGenerator
的用法示例。
在下文中一共展示了PropertyGenerator::__construct方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* 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);
}
示例2: __construct
/**
* 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');
}
示例3: __construct
/**
* 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 . '[]');
}
示例4: __construct
/**
* 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');
}
示例5: __construct
/**
* 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));
}
示例6: __construct
/**
* 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: __construct
/**
* @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: __construct
/**
* 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: __construct
/**
* 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: __construct
/**
* Constructor
*/
public function __construct()
{
parent::__construct(UniqueIdentifierGenerator::getIdentifier('adapter'));
$this->setVisibility(self::VISIBILITY_PRIVATE);
$this->setDocblock('@var \\' . AdapterInterface::class . ' Remote web service adapter');
}
示例11: __construct
/**
* 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: __construct
/**
* 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');
}
示例13: __construct
/**
* 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');
}
示例14: __construct
/**
* 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');
}