src/CompositeContainer.php
public function get($id)
    {
        /** @var ContainerInterface $container */
        foreach ($this->containers as $container) {
            if ($container->has($id)) {
                return $container->get($id);
            }
        }

        throw NotFoundException::fromPrevious($id);
    }
public function get($id)
    {
        /** @var ContainerInterface $container */
        foreach ($this->containers as $container) {
            if ($container->has($id)) {
                return $container->get($id);
            }
        }

        throw NotFoundException::fromPrevious($id);
    }
public function get ( $ id ) { /** @var ContainerInterface $container */ foreach ( $ this -> containers as $ container ) { if ( $ container -> has ( $ id ) ) { return $ container -> get ( $ id ) ; } } throw NotFoundException :: fromPrevious ( $ id ) ; }
Finds an entry of the container by delegating the get call to a FIFO queue of internal containers

{@inheritDoc}
Finds an entry of the container by delegating the get call to a FIFO queue of internal containers