pbyrne84 / DynamicReturnTypePlugin

135 stars 7 forks source link

Allow fluent chaining from container to container #41

Closed pbyrne84 closed 9 years ago

pbyrne84 commented 9 years ago

Currently unless the result of a configured container that has returned another configured container is assigned to a variable the internal signature system loses track of what the chained container is.

eg. $classB = $containerA->get('ClassA')->get('ClassB')

$classB type is unknown

$classA = $containerA->get('ClassA') $classB = $classA ->get('ClassB')

$classB type is known

pbyrne84 commented 9 years ago

rewrote pretty much everything....