'123' ]; return $response; } public function test_get($id) { die('1233'); $item = $this->getFindData($id); if (!$item) { return $this->onItemNotFound($id); } if (!$this->findAllowed($id, $item)) { return $this->onNotAllowed(); } return '123'; $response = $this->getFindResponse($item); return '123'; } }