public getInput ( ) : Drahak\Restful\Http\IInput | ||
리턴 | 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;
}