Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

AbstractConfigFactory returns complete configuration array at first config call #7142

Closed
ed-posinitskiy opened this issue Jan 21, 2015 · 1 comment
Assignees
Milestone

Comments

@ed-posinitskiy
Copy link

Zend\Config\AbstractConfigFactory returns complete configuration array instead of a requested configuration key at first call.

public function createServiceWithName(ServiceManager\ServiceLocatorInterface $serviceLocator, $name, $requestedName)
    {
        ...

        $config = $serviceLocator->get('Config');
        $this->configs[$requestedName] = $this->configs[$key] = $config[$key];
        return $config;
    }
ed-posinitskiy pushed a commit to ed-posinitskiy/zf2 that referenced this issue Jan 21, 2015
…d config array instead of complete configuration array
@Ocramius Ocramius added this to the 2.3.5 milestone Jan 22, 2015
@Ocramius Ocramius self-assigned this Jan 22, 2015
Ocramius added a commit that referenced this issue Jan 22, 2015
…n-config-key' into develop

Close #7142
Close #7144
Forward port #7142
Forward port #7144
@Ocramius
Copy link
Member

Handled in #7144

TomHAnderson pushed a commit to TomHAnderson/zf2 that referenced this issue Feb 24, 2015
…d config array instead of complete configuration array
TomHAnderson pushed a commit to TomHAnderson/zf2 that referenced this issue Feb 24, 2015
gianarb pushed a commit to zendframework/zend-config that referenced this issue May 15, 2015
…dding `@group` annotation for newly introduced tests
gianarb pushed a commit to zendframework/zend-config that referenced this issue May 15, 2015
gianarb pushed a commit to zendframework/zend-config that referenced this issue May 15, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

2 participants