当前位置: 首页>>代码示例>>PHP>>正文


PHP PropertyGenerator::__construct方法代码示例

本文整理汇总了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);
 }
开发者ID:Clon450,项目名称:batata,代码行数:10,代码来源:InitializationTracker.php

示例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');
 }
开发者ID:John-Eddy,项目名称:ProjetCastor,代码行数:10,代码来源:MethodPrefixInterceptors.php

示例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 . '[]');
 }
开发者ID:bitexpert,项目名称:disco,代码行数:12,代码来源:BeanPostProcessorsProperty.php

示例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');
 }
开发者ID:bitexpert,项目名称:disco,代码行数:12,代码来源:ParameterValuesProperty.php

示例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));
 }
开发者ID:FanHa,项目名称:ProxyManager,代码行数:13,代码来源:ProtectedPropertiesMap.php

示例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));
 }
开发者ID:jbafford,项目名称:ProxyManager,代码行数:13,代码来源:PrivatePropertiesMap.php

示例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');
 }
开发者ID:tillk,项目名称:vufind,代码行数:14,代码来源:PublicPropertiesMap.php

示例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);
 }
开发者ID:bitexpert,项目名称:disco,代码行数:11,代码来源:SessionBeansProperty.php

示例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');
 }
开发者ID:Clon450,项目名称:batata,代码行数:9,代码来源:InitializerProperty.php

示例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');
 }
开发者ID:FanHa,项目名称:ProxyManager,代码行数:9,代码来源:AdapterProperty.php

示例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);
 }
开发者ID:bitexpert,项目名称:disco,代码行数:11,代码来源:BeanFactoryConfigurationProperty.php

示例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');
 }
开发者ID:bitexpert,项目名称:disco,代码行数:11,代码来源:ValueHolderBeanIdProperty.php

示例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');
 }
开发者ID:bitexpert,项目名称:disco,代码行数:11,代码来源:AliasesProperty.php

示例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');
 }
开发者ID:bitexpert,项目名称:disco,代码行数:11,代码来源:ForceLazyInitProperty.php


注:本文中的Zend\Code\Generator\PropertyGenerator::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。