public function read(ClassMetadata $classMetadata, array &$metatada)
    {
        foreach ($this->drivers as $namespace => $driver) {
            if (strpos($classMetadata->name, $namespace) === 0) {
                $driver->read($classMetadata, $metatada);

                return;
            }
        }

        if (null !== $this->defaultDriver) {
            $this->defaultDriver->read($classMetadata, $metatada);
        }
    }
public function read(ClassMetadata $classMetadata, array &$metatada)
    {
        foreach ($this->drivers as $namespace => $driver) {
            if (strpos($classMetadata->name, $namespace) === 0) {
                $driver->read($classMetadata, $metatada);

                return;
            }
        }

        if (null !== $this->defaultDriver) {
            $this->defaultDriver->read($classMetadata, $metatada);
        }
    }
{@inheritDoc}