コード例 #1
0
 public function attributes()
 {
     $createRequest = new CreateBatchRequest();
     return $createRequest->attributes();
 }
コード例 #2
0
 public function postBatchNew(CreateBatchRequest $request)
 {
     $this->authorize('add_edit_batch');
     $batch = $this->classRepository->createBatch($request->all());
     return $this->printRedirect(route('batch.details.edit', $batch->id));
 }