/** * Call to undefined static method. * * @param string $name * @param array $args * * @throws \Nette\MemberAccessException * @return mixed */ public static function __callStatic($name, $args) { ObjectMixin::callStatic(get_called_class(), $name, $args); }
/** * Call to undefined static method. * @param string method name (in lower case!) * @param array arguments * @return mixed * @throws MemberAccessException */ public static function __callStatic($name, $args) { return Nette\Utils\ObjectMixin::callStatic(get_called_class(), $name, $args); }