當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。