public function getCallsForMethod($method) { $calls = Registry::getClassCallsFor($this->getClassName()); return isset($calls[$method]) ? $calls[$method] : []; }