public function bindCallee(Callee $callee) { $callable = $callee->getCallable(); if ($callee->isAnInstanceMethod()) { return [$this->spec, $callable->getName()]; } return $callable; }
/** * {@inheritdoc} */ public final function bindCallee(Callee $callee) { return $callee->getCallable(); }
/** * {@inheritdoc} */ public function bindCallee(Callee $callee) { $callable = $callee->getCallable(); if ($callee->isAnInstanceMethod()) { return array($this->getContext($callable[0]), $callable[1]); } return $callable; }