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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
StrategyInterface.php
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\Strategy;
11
12 /**
13 * @todo v3.0, add optional object/data to extract/hydrate.
14 */
15 interface StrategyInterface
16 {
17 /**
18 * Converts the given value so that it can be extracted by the hydrator.
19 *
20 * @param mixed $value The original value.
21 * @param object $object (optional) The original object for context.
22 * @return mixed Returns the value that should be extracted.
23 */
24 public function extract($value);
25
26 /**
27 * Converts the given value so that it can be hydrated by the hydrator.
28 *
29 * @param mixed $value The original value.
30 * @param array $data (optional) The original data for context.
31 * @return mixed Returns the value that should be hydrated.
32 */
33 public function hydrate($value);
34 }
35