public function handle(array &$arguments, string $callType = Caller::TYPE_DEFAULT)
    {
        if ($this->isValid()) {
            $this->callType = $callType;
            $method = $this->getMethod();
            $context = $this->getContext();
            return $context->$method(...$arguments);
        }
    }
public function handle(array &$arguments, string $callType = Caller::TYPE_DEFAULT)
    {
        if ($this->isValid()) {
            $this->callType = $callType;
            $method = $this->getMethod();
            $context = $this->getContext();
            return $context->$method(...$arguments);
        }
    }
public function handle ( array & $ arguments , string $ callType = Caller :: TYPE_DEFAULT ) { if ( $ this -> isValid ( ) ) { $ this -> callType = $ callType ; $ method = $ this -> getMethod ( ) ; $ context = $ this -> getContext ( ) ; return $ context -> $ method ( ... $ arguments ) ; } }
Handle the arguments passed to the middleware and return the new response.
By default, this will automatically try to call a class method that corresponds
to the method named give to the object.

@param array $arguments
@return null
Handle the arguments passed to the middleware and return the new response . By default this will automatically try to call a class method that corresponds to the method named give to the object .