Last active
February 28, 2016 19:47
-
-
Save andevsoftware/f6d62944a2ecb38238b0 to your computer and use it in GitHub Desktop.
Phalcon REST - Create OK Response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CustomController extends \PhalconRest\Mvc\Controller\Fractal | |
{ | |
public function delete($id) { | |
// Remove object code here | |
return $this->createOkResponse(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment