src/Container.php
private function find($id)
    {
        if (! isset($this->registry[$id])) {
            throw new NotFoundException("Entry id '" . $id . "' not found in container");
        }

        return $this->registry[$id];
    }
private function find($id)
    {
        if (! isset($this->registry[$id])) {
            throw new NotFoundException("Entry id '" . $id . "' not found in container");
        }

        return $this->registry[$id];
    }
private function find ( $ id ) { if ( ! isset ( $ this -> registry [ $ id ] ) ) { throw new NotFoundException ( "Entry id '" . $ id . "' not found in container" ) ; } return $ this -> registry [ $ id ] ; }
Find the item in the registry

@param $id
@return mixed
Find the item in the registry