src/AutoInject.php
private function getProviders($identifier)
    {
        if (isset($this->interfaceProviders[$identifier])) {
            return $this->interfaceProviders[$identifier];
        } elseif (isset($this->classProviders[$identifier])) {
            return $this->classProviders[$identifier];
        } else {
            return [];
        }
    }
private function getProviders($identifier)
    {
        if (isset($this->interfaceProviders[$identifier])) {
            return $this->interfaceProviders[$identifier];
        } elseif (isset($this->classProviders[$identifier])) {
            return $this->classProviders[$identifier];
        } else {
            return [];
        }
    }
private function getProviders ( $ identifier ) { if ( isset ( $ this -> interfaceProviders [ $ identifier ] ) ) { return $ this -> interfaceProviders [ $ identifier ] ; } elseif ( isset ( $ this -> classProviders [ $ identifier ] ) ) { return $ this -> classProviders [ $ identifier ] ; } else { return [ ] ; } }
Get all providers for a specified identifier
@param $identifier
@return Reference[]
Get all providers for a specified identifier