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 |
DefaultStrategy.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 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 }
36