public function __call($name, $args) { foreach ($this->getExtensions() as $extension) { /* @var $extension ExtensionObject */ if ($extension->getReflection()->hasMethod($name)) { $method = $extension->getReflection()->getMethod($name); if ($method->isPublic() && !$method->isStatic() && !$method->isAbstract()) { return \callback($extension, $name)->invokeArgs($args); } } if ($extension->getReflection()->hasEventProperty($name)) { return ObjectMixin::call($extension, $name, $args); } } return parent::__call($name, $args); }
/** * Call to undefined method. * @param string method name * @param array arguments * @return mixed * @throws Nette\MemberAccessException */ public function __call($name, $args) { return Nette\ObjectMixin::call($this, $name, $args); }
/** * Call to undefined method * * @param string method name * @param array arguments * @return mixed * @throws \Nette\MemberAccessException */ public function __call($name, $args) { try { return parent::__call($name, $args); } catch (\BadMethodCallException $e) { return ObjectMixin::call($this, $name, $args); } }
/** * @param $method * @param $args */ public function __call($method, $args) { ObjectMixin::call($this, $method, $args); }
getNextValue(){return$this->getInnerIterator()->current();}function __call($name,$args){return Nette\ObjectMixin::call($this,$name,$args);}function&__get($name){return