protected function setCallback($callback) {
		if (!is_callable($callback)) {
			throw new InvalidCallbackException('Invalid callback');
		}

		$this->reflection_parameter =  $this
			     ->getCallbackReflection($callback)
			     ->getParameters()
		;
		$this->callback = $callback;

		return $this;
	}
protected function setCallback($callback) {
		if (!is_callable($callback)) {
			throw new InvalidCallbackException('Invalid callback');
		}

		$this->reflection_parameter =  $this
			     ->getCallbackReflection($callback)
			     ->getParameters()
		;
		$this->callback = $callback;

		return $this;
	}
protected function setCallback ( $ callback ) { if ( ! is_callable ( $ callback ) ) { throw new InvalidCallbackException ( 'Invalid callback' ) ; } $ this -> reflection_parameter = $ this -> getCallbackReflection ( $ callback ) -> getParameters ( ) ; $ this -> callback = $ callback ; return $ this ; }
Gets the reflection class for and sets the callback

@param callable $callback

@return $this
@throws InvalidCallbackException
Gets the reflection class for and sets the callback