src/Dispatcher.php
public function call(Router $driver, $name = null, array $parameters = [])
    {
        $resolver = $this->resolveDispatchDependencies($driver, $name, $parameters);

        // This would cater request to valid resource but pointing to an
        // invalid child. We should show a 404 response to the user on this
        // case.
        if (! $resolver->isValid()) {
            return false;
        }

        return $this->dispatch($driver, $name, $resolver);
    }
public function call(Router $driver, $name = null, array $parameters = [])
    {
        $resolver = $this->resolveDispatchDependencies($driver, $name, $parameters);

        // This would cater request to valid resource but pointing to an
        // invalid child. We should show a 404 response to the user on this
        // case.
        if (! $resolver->isValid()) {
            return false;
        }

        return $this->dispatch($driver, $name, $resolver);
    }
Create a new dispatch.

@param  \Orchestra\Resources\Router  $driver
@param  string|null  $name
@param  array  $parameters

@return mixed