private function resolveAutomaticResolvable(string $id)
    {
        if (Validator::key($id)->validate($this->autoResolvable)) {
            return $this->instances[$id] = $this->autoResolve($this->autoResolvable[$id]);
        }
        return $this->autoResolve($id);
    }
private function resolveAutomaticResolvable(string $id)
    {
        if (Validator::key($id)->validate($this->autoResolvable)) {
            return $this->instances[$id] = $this->autoResolve($this->autoResolvable[$id]);
        }
        return $this->autoResolve($id);
    }
private function resolveAutomaticResolvable ( string $ id ) { if ( Validator :: key ( $ id ) -> validate ( $ this -> autoResolvable ) ) { return $ this -> instances [ $ id ] = $ this -> autoResolve ( $ this -> autoResolvable [ $ id ] ) ; } return $ this -> autoResolve ( $ id ) ; }
Try to retrieve a service instance from the automatic resolvable array.

@param string $id The service identifier.

@return mixed The service.

@throws ContainerException If the service identifier is not a string.
Try to retrieve a service instance from the automatic resolvable array .