public function signalReceived($signal)
	{
		if (!$this->tryCall($this->formatSignalMethod($signal), $this->params)) {
			$class = get_class($this);
			throw new BadSignalException("There is no handler for signal '$signal' in class $class.");
		}
	}
public function signalReceived($signal)
	{
		if (!$this->tryCall($this->formatSignalMethod($signal), $this->params)) {
			$class = get_class($this);
			throw new BadSignalException("There is no handler for signal '$signal' in class $class.");
		}
	}
public function signalReceived ( $ signal ) { if ( ! $ this -> tryCall ( $ this -> formatSignalMethod ( $ signal ) , $ this -> params ) ) { $ class = get_class ( $ this ) ; throw new BadSignalException ( "There is no handler for signal '$signal' in class $class." ) ; } }
Calls signal handler method.
@param  string
@return void
@throws BadSignalException if there is not handler method
Calls signal handler method .