コード例 #1
0
ファイル: PageController.php プロジェクト: dan-powell/shop
 /**
  * Destroy Section
  *
  * Return Illuminate response (JSON & HTTP code)
  */
 public function destroy($id)
 {
     return $this->pageRepository->destroy(new Page(), $id);
 }
コード例 #2
0
 /**
  * Destroy Project
  *
  * Return Illuminate response (JSON & HTTP code)
  */
 public function destroy($id)
 {
     return $this->projectRepository->destroy(new Project(), $id);
 }
コード例 #3
0
 /**
  * Destroy Tag
  *
  * Return Illuminate response (JSON & HTTP code)
  */
 public function destroy($id)
 {
     return $this->tagRepository->destroy(new Tag(), $id);
 }
コード例 #4
0
 /**
  * Destroy Section
  *
  * Return Illuminate response (JSON & HTTP code)
  */
 public function destroy($id)
 {
     return $this->restfulRepository->destroy(new Section(), $id);
 }