php,inheritance,design-patterns,containers,adapter-pattern
$myClass->getContainer() should return an instance of MyContainerInterface and that has a has() function. It shouldn't have a getContainer() function....