public function proceed(JoinPointInterface &$joinPoint) { $this->adviceIndex++; if ($this->adviceIndex < count($this->advices)) { $result = $this->advices[$this->adviceIndex]->invoke($joinPoint); } else { $result = $joinPoint->getProxy()->Flow_Aop_Proxy_invokeJoinpoint($joinPoint); } return $result; }