protected function defineStrategyHandlers() {
		if(!$this->_strategiesDefined) {
			foreach($this->getStrategies() as $strategyClass) {
				$strategyMethod = 'handleStrategy' . $strategyClass;
				$this->addWrapperMethod($strategyMethod, 'handleStrategy');
			}
			$this->_strategiesDefined = true;
		}
	}
protected function defineStrategyHandlers() {
		if(!$this->_strategiesDefined) {
			foreach($this->getStrategies() as $strategyClass) {
				$strategyMethod = 'handleStrategy' . $strategyClass;
				$this->addWrapperMethod($strategyMethod, 'handleStrategy');
			}
			$this->_strategiesDefined = true;
		}
	}
protected function defineStrategyHandlers ( ) { if ( ! $ this -> _strategiesDefined ) { foreach ( $ this -> getStrategies ( ) as $ strategyClass ) { $ strategyMethod = 'handleStrategy' . $ strategyClass ; $ this -> addWrapperMethod ( $ strategyMethod , 'handleStrategy' ) ; } $ this -> _strategiesDefined = true ; } }
Channel several unknown strategies in to one handler
Channel several unknown strategies in to one handler