Returns the inline definition
Definition $definition:
array
private function getInlinedDefinitions(Definition $definition) {
if (false === $this->inlinedDefinitions
->contains($definition)) {
$definitions = array_merge($this
->getDefinitionsFromArguments($definition
->getArguments()), $this
->getDefinitionsFromArguments($definition
->getMethodCalls()), $this
->getDefinitionsFromArguments($definition
->getProperties()));
$this->inlinedDefinitions
->offsetSet($definition, $definitions);
return $definitions;
}
return $this->inlinedDefinitions
->offsetGet($definition);
}