public function isValid($code, $route)
    {
        return call_user_func($this->validationCallback, $code, $this->validateForAll ? '' : $route);
    }
public function isValid($code, $route)
    {
        return call_user_func($this->validationCallback, $code, $this->validateForAll ? '' : $route);
    }
public function isValid ( $ code , $ route ) { return call_user_func ( $ this -> validationCallback , $ code , $ this -> validateForAll ? '' : $ route ) ; }
Check entered code for action
@param string $code
@param string $route
@return boolean
Check entered code for action