Drahak\Restful\Application\UI\ResourcePresenter::getInput PHP Method

getInput() public method

Get input
public getInput ( ) : Drahak\Restful\Http\IInput
return Drahak\Restful\Http\IInput
    public function getInput()
    {
        if (!$this->input) {
            try {
                $this->input = $this->inputFactory->create();
            } catch (BadRequestException $e) {
                $this->sendErrorResource($e);
            }
        }
        return $this->input;
    }