original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Gets the reflection class for and sets the callback
  
  @param callable $callback
  
  @return $this
  @throws InvalidCallbackException
docstring_tokens: Gets the reflection class for and sets the callback