made ZapHandler library
This commit is contained in:
parent
d185a26f87
commit
b276ac7f6a
6 changed files with 34 additions and 3 deletions
|
|
@ -35,6 +35,9 @@ class ZAPController {
|
|||
* @return string content
|
||||
*/
|
||||
public function fetch() {
|
||||
if (!($this->action instanceof ZAPHandler)) {
|
||||
die('Handler does not implement ZAPHandler interface');
|
||||
}
|
||||
return $this->action->getContent();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue