[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/Strategy/ -> DefaultStrategy.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\Strategy;
  11  
  12  class DefaultStrategy implements StrategyInterface
  13  {
  14      /**
  15       * Converts the given value so that it can be extracted by the hydrator.
  16       *
  17       * @param mixed $value The original value.
  18       * @return mixed Returns the value that should be extracted.
  19       */
  20      public function extract($value)
  21      {
  22          return $value;
  23      }
  24  
  25      /**
  26       * Converts the given value so that it can be hydrated by the hydrator.
  27       *
  28       * @param mixed $value The original value.
  29       * @return mixed Returns the value that should be hydrated.
  30       */
  31      public function hydrate($value)
  32      {
  33          return $value;
  34      }
  35  }


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