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

StrategyEnabledInterface.php

Zuletzt modifiziert: 09.10.2024, 12:57 - Dateigröße: 1.35 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;
 11   
 12  use Zend\Stdlib\Hydrator\Strategy\StrategyInterface;
 13   
 14  interface StrategyEnabledInterface
 15  {
 16      /**
 17       * Adds the given strategy under the given name.
 18       *
 19       * @param string $name The name of the strategy to register.
 20       * @param StrategyInterface $strategy The strategy to register.
 21       * @return StrategyEnabledInterface
 22       */
 23      public function addStrategy($name, StrategyInterface $strategy);
 24   
 25      /**
 26       * Gets the strategy with the given name.
 27       *
 28       * @param string $name The name of the strategy to get.
 29       * @return StrategyInterface
 30       */
 31      public function getStrategy($name);
 32   
 33      /**
 34       * Checks if the strategy with the given name exists.
 35       *
 36       * @param string $name The name of the strategy to check for.
 37       * @return bool
 38       */
 39      public function hasStrategy($name);
 40   
 41      /**
 42       * Removes the strategy with the given name.
 43       *
 44       * @param string $name The name of the strategy to remove.
 45       * @return StrategyEnabledInterface
 46       */
 47      public function removeStrategy($name);
 48  }
 49