Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

NamingStrategyInterface.php

Zuletzt modifiziert: 09.10.2024, 12:58 - Dateigröße: 1.11 KiB


 01  <?php
 02  /**
 03   * Zend Framework (http://framework.zend.com/)
 04   *
 05   * @link      http://github.com/zendframework/zf2 for the canonical source repository
 06   * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 07   * @license   http://framework.zend.com/license/new-bsd New BSD License
 08   */
 09   
 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  }
 38