/** * @see \SplObserver::update() */ public function update(\SplSubject $subject) { $this->callback->__invoke($subject); }
/** * * @see IteratorIterator::current() */ public function current() { return $this->callback->__invoke(parent::current()); }