/** * Adds a method to call after service initialization. * * @param string $method The method name to call * @param array $arguments An array of arguments to pass to the method call * * @return ehough_iconic_Definition The current instance * * @throws ehough_iconic_exception_InvalidArgumentException on empty $method param * * @api */ public function addMethodCall($method, array $arguments = array()) { try { $this->_delegate->addMethodCall($method, $arguments); } catch (InvalidArgumentException $e) { throw new ehough_iconic_exception_InvalidArgumentException($e->getMessage()); } return parent::addMethodCall($method, $arguments); }