Created
June 30, 2017 07:53
-
-
Save patrickallaert/a8893137c0e1e7a60ebf25443d48adf0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!is_callable($callable)) { | |
throw new \InvalidArgumentException( | |
'The controller for URI "' . $request->getPathInfo() . '" is not callable. '. | |
$this->getControllerError($callable) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment