本文整理匯總了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');
}