private function fetchParentsContracts(MethodInvocation $invocation) { return $this->methodConditionFetcher->getConditions($invocation->getMethod()->getDeclaringClass(), $invocation->getMethod()->name); }