[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/zendframework/zend-stdlib/src/Hydrator/NamingStrategy/ -> NamingStrategyInterface.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\NamingStrategy;
  11  
  12  /**
  13   * Allow property extraction / hydration for hydrator
  14   *
  15   * Interface PropertyStrategyInterface
  16   * @package Zend\Stdlib\Hydrator\NamingStrategy
  17   */
  18  interface NamingStrategyInterface
  19  {
  20      /**
  21       * Converts the given name so that it can be extracted by the hydrator.
  22       *
  23       * @param string $name   The original name
  24       * @param object $object (optional) The original object for context.
  25       * @return mixed         The hydrated name
  26       */
  27      public function hydrate($name);
  28  
  29      /**
  30       * Converts the given name so that it can be hydrated by the hydrator.
  31       *
  32       * @param string $name The original name
  33       * @param array  $data (optional) The original data for context.
  34       * @return mixed The extracted name
  35       */
  36      public function extract($name);
  37  }


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