[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Summary view] [Print] [Text view]
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; 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 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |