[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/ -> HydratorAwareTrait.php (source)

   1  <?php
   2  /**
   3   * Zend Framework (http://framework.zend.com/)
   4   *
   5   * @link      http://github.com/zendframework/zf2 for the canonical source repository
   6   * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
   7   * @license   http://framework.zend.com/license/new-bsd New BSD License
   8   */
   9  
  10  namespace Zend\Stdlib\Hydrator;
  11  
  12  trait HydratorAwareTrait
  13  {
  14      /**
  15       * Hydrator instance
  16       *
  17       * @var HydratorInterface
  18       * @access protected
  19       */
  20      protected $hydrator = null;
  21  
  22      /**
  23       * Set hydrator
  24       *
  25       * @param  HydratorInterface $hydrator
  26       * @return self
  27       * @access public
  28       */
  29      public function setHydrator(HydratorInterface $hydrator)
  30      {
  31          $this->hydrator = $hydrator;
  32  
  33          return $this;
  34      }
  35  
  36      /**
  37       * Retrieve hydrator
  38       *
  39       * @param void
  40       * @return null|HydratorInterface
  41       * @access public
  42       */
  43      public function getHydrator()
  44      {
  45          return $this->hydrator;
  46      }
  47  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1