Drahak\Restful\Application\BadRequestException::gone PHP 메소드

gone() 공개 정적인 메소드

Is thrown when this resource is not no longer available (e.g. with new API version)
public static gone ( string $message = '', Exception | Throwable $previous = NULL ) : BadRequestException
$message string
$previous Exception | Throwable
리턴 BadRequestException
    public static function gone($message = '', $previous = NULL)
    {
        return new self($message, 410, $previous);
    }