protected function firePostProcessEvent($name = null, $resource = null)
    {
        if (empty($name)) {
            $name = $this->getEventName();
        }
        if (empty($resource)) {
            $resource = $this->getEventResource();
        }
        /** @noinspection PhpUnusedLocalVariableInspection */
        $results = \Event::fire(new PostProcessApiEvent($name, $this->request, $this->response, $resource));
    }
protected function firePostProcessEvent($name = null, $resource = null)
    {
        if (empty($name)) {
            $name = $this->getEventName();
        }
        if (empty($resource)) {
            $resource = $this->getEventResource();
        }
        /** @noinspection PhpUnusedLocalVariableInspection */
        $results = \Event::fire(new PostProcessApiEvent($name, $this->request, $this->response, $resource));
    }
protected function firePostProcessEvent ( $ name = null , $ resource = null ) { if ( empty ( $ name ) ) { $ name = $ this -> getEventName ( ) ; } if ( empty ( $ resource ) ) { $ resource = $ this -> getEventResource ( ) ; } /** @noinspection PhpUnusedLocalVariableInspection */ $ results = \ Event :: fire ( new PostProcessApiEvent ( $ name , $ this -> request , $ this -> response , $ resource ) ) ; }
Fires post process event
@param string|null $name     Optional name to append
@param string|null $resource Optional override for resource
Fires post process event