You are here

class TestManagerRegistry in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php \Doctrine\Tests\Common\Persistence\TestManagerRegistry

Hierarchy

Expanded class hierarchy of TestManagerRegistry

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php, line 78

Namespace

Doctrine\Tests\Common\Persistence
View source
class TestManagerRegistry extends AbstractManagerRegistry {
  protected function getService($name) {
    return new TestManager();
  }

  /**
   * {@inheritdoc}
   */
  protected function resetService($name) {
  }
  public function getAliasNamespace($alias) {
    return __NAMESPACE__;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractManagerRegistry::$connections private property
AbstractManagerRegistry::$defaultConnection private property
AbstractManagerRegistry::$defaultManager private property
AbstractManagerRegistry::$managers private property
AbstractManagerRegistry::$name private property
AbstractManagerRegistry::$proxyInterfaceName private property
AbstractManagerRegistry::getConnection public function Gets the named connection. Overrides ConnectionRegistry::getConnection
AbstractManagerRegistry::getConnectionNames public function Gets all connection names. Overrides ConnectionRegistry::getConnectionNames
AbstractManagerRegistry::getConnections public function Gets an array of all registered connections. Overrides ConnectionRegistry::getConnections
AbstractManagerRegistry::getDefaultConnectionName public function Gets the default connection name. Overrides ConnectionRegistry::getDefaultConnectionName
AbstractManagerRegistry::getDefaultManagerName public function Gets the default object manager name. Overrides ManagerRegistry::getDefaultManagerName
AbstractManagerRegistry::getManager public function Overrides ManagerRegistry::getManager
AbstractManagerRegistry::getManagerForClass public function Gets the object manager associated with a given class. Overrides ManagerRegistry::getManagerForClass
AbstractManagerRegistry::getManagerNames public function Gets all connection names. Overrides ManagerRegistry::getManagerNames
AbstractManagerRegistry::getManagers public function Gets an array of all registered object managers. Overrides ManagerRegistry::getManagers
AbstractManagerRegistry::getName public function Gets the name of the registry.
AbstractManagerRegistry::getRepository public function Gets the ObjectRepository for an persistent object. Overrides ManagerRegistry::getRepository
AbstractManagerRegistry::resetManager public function Resets a named object manager. Overrides ManagerRegistry::resetManager
AbstractManagerRegistry::__construct public function Constructor.
TestManagerRegistry::getAliasNamespace public function Resolves a registered namespace alias to the full namespace. Overrides ManagerRegistry::getAliasNamespace
TestManagerRegistry::getService protected function Fetches/creates the given services. Overrides AbstractManagerRegistry::getService
TestManagerRegistry::resetService protected function Resets the given services. Overrides AbstractManagerRegistry::resetService