|
@@ 62-64 (lines=3) @@
|
| 59 |
|
throw new \Exception('Metadata mapping for CRUD verb '.$crudVerb.' on model '.$modelName.' not defined'); |
| 60 |
|
} |
| 61 |
|
$result = $lookup[$crudVerb]; |
| 62 |
|
if (!isset($result)) { |
| 63 |
|
throw new \Exception('Metadata mapping for CRUD verb '.$crudVerb.' on model '.$modelName.' null'); |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
if (!method_exists($this, $result)) { |
| 67 |
|
throw new \Exception( |
|
@@ 66-70 (lines=5) @@
|
| 63 |
|
throw new \Exception('Metadata mapping for CRUD verb '.$crudVerb.' on model '.$modelName.' null'); |
| 64 |
|
} |
| 65 |
|
|
| 66 |
|
if (!method_exists($this, $result)) { |
| 67 |
|
throw new \Exception( |
| 68 |
|
'Metadata target for CRUD verb '.$crudVerb.' on model '.$modelName.' does not exist' |
| 69 |
|
); |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
$class = get_class($this); |
| 73 |
|
$parmArray = $this->getParameterNames($result); |