Domain\Billet\Http\Requests\StoreRequest::forbiddenResponse PHP Méthode

forbiddenResponse() public méthode

public forbiddenResponse ( )
    public function forbiddenResponse()
    {
        return response()->json(['error' => "There isn't a transferor, must create a transferor to be able to create billet."], 403);
    }