App\Http\Controllers\DocumentAPIController::index PHP Метод

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

public index ( ) : Illuminate\Http\Response
Результат Illuminate\Http\Response
    public function index()
    {
        $documents = Document::scope();
        return $this->listResponse($documents);
    }