* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
+ // Get the command instance from the resolver by sending a request instance to the resolver
+ $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Run the pre filters
$this->executePreFilters($requestInstance, $responseInstance);
- // Get the command instance from the resolver by sending a request instance to the resolver
- $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
-
// This request was valid! :-D
$requestInstance->requestIsValid();
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
+ // Get the command instance from the resolver by sending a request instance to the resolver
+ $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+
// Add more filters by the command
$commandInstance->addExtraFilters($this);
// Run the pre filters
$this->executePreFilters($requestInstance, $responseInstance);
- // Get the command instance from the resolver by sending a request instance to the resolver
- $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
-
// This request was valid! :-D
$requestInstance->requestIsValid();
* @return void
*/
public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) {
+ // Get the command instance from the resolver by sending a request instance to the resolver
+ $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
+
// Add more filters by the command
$commandInstance->addExtraFilters($this);
$responseInstance->redirectToConfiguredUrl('login_failed_url');
}
- // Get the command instance from the resolver by sending a request instance to the resolver
- $commandInstance = $this->getResolverInstance()->resolvCommandByRequest($requestInstance);
-
// This request was valid! :-D
$requestInstance->requestIsValid();