src/IlluminateRegistry.php
public function getManagers()
    {
        $managers = [];
        foreach ($this->getManagerNames() as $name) {
            $managers[$name] = $this->getManager($name);
        }

        return $managers;
    }
public function getManagers()
    {
        $managers = [];
        foreach ($this->getManagerNames() as $name) {
            $managers[$name] = $this->getManager($name);
        }

        return $managers;
    }
public function getManagers ( ) { $ managers = [ ] ; foreach ( $ this -> getManagerNames ( ) as $ name ) { $ managers [ $ name ] = $ this -> getManager ( $ name ) ; } return $ managers ; }
Gets an array of all registered object managers.

@return \Doctrine\Common\Persistence\ObjectManager[] An array of ObjectManager instances
Gets an array of all registered object managers .