Drahak\Restful\Application\Events\MethodHandler::__construct PHP Метод

__construct() публичный Метод

public __construct ( Nette\Http\IRequest $request, Nette\Http\IResponse $response, Drahak\Restful\Application\MethodOptions $methods )
$request Nette\Http\IRequest
$response Nette\Http\IResponse
$methods Drahak\Restful\Application\MethodOptions
    public function __construct(IRequest $request, IResponse $response, MethodOptions $methods)
    {
        $this->request = $request;
        $this->response = $response;
        $this->methods = $methods;
    }