[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/ocramius/proxy-manager/src/ProxyManager/ProxyGenerator/RemoteObject/PropertyGenerator/ -> AdapterProperty.php (source)

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace ProxyManager\ProxyGenerator\RemoteObject\PropertyGenerator;
   6  
   7  use ProxyManager\Factory\RemoteObject\AdapterInterface;
   8  use ProxyManager\Generator\Util\IdentifierSuffixer;
   9  use Zend\Code\Generator\PropertyGenerator;
  10  
  11  /**
  12   * Property that contains the remote object adapter
  13   *
  14   * @author Vincent Blanchon <blanchon.vincent@gmail.com>
  15   * @license MIT
  16   */
  17  class AdapterProperty extends PropertyGenerator
  18  {
  19      /**
  20       * Constructor
  21       *
  22       * @throws \Zend\Code\Generator\Exception\InvalidArgumentException
  23       */
  24      public function __construct()
  25      {
  26          parent::__construct(IdentifierSuffixer::getIdentifier('adapter'));
  27  
  28          $this->setVisibility(self::VISIBILITY_PRIVATE);
  29          $this->setDocBlock('@var \\' . AdapterInterface::class . ' Remote web service adapter');
  30      }
  31  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1