*/
public function __construct(ControllerResolver $resolverInstance, $code) {
// Prepare the message
- $message = sprintf("[%s:%d] Cannot resolv default controller. Maybe missing?",
+ $message = sprintf("[%s:%d] Cannot resolve default controller. Maybe missing?",
$resolverInstance->__toString(),
$this->getLine()
);
$actionName = '';
$actionInstance = null;
- // This goes fine so let's resolv the action
+ // This goes fine so let's resolve the action
$actionName = $requestInstance->getRequestElement('action');
// Is the action empty? Then fall back to default action
$commandName = '';
$commandInstance = null;
- // This goes fine so let's resolv the command
+ // This goes fine so let's resolve the command
$commandName = $requestInstance->getRequestElement('page');
// Is the command empty? Then fall back to default command
$commandName = '';
$commandInstance = null;
- // This goes fine so let's resolv the command
+ // This goes fine so let's resolve the command
$commandName = $requestInstance->getRequestElement('page');
// Is the command empty? Then fall back to default command