private function make(string $class)
    {
        if (! array_key_exists($class, $this->instances)) {

            try {

                return $this->instances[$class] = ($this->factory)($class)->value($this);

            }

            catch (ResolvingExceptionInterface $e) {

                throw new ReflectionContainerException($class, $e);

            }

        }

        return $this->instances[$class];
    }
private function make(string $class)
    {
        if (! array_key_exists($class, $this->instances)) {

            try {

                return $this->instances[$class] = ($this->factory)($class)->value($this);

            }

            catch (ResolvingExceptionInterface $e) {

                throw new ReflectionContainerException($class, $e);

            }

        }

        return $this->instances[$class];
    }
private function make ( string $ class ) { if ( ! array_key_exists ( $ class , $ this -> instances ) ) { try { return $ this -> instances [ $ class ] = ( $ this -> factory ) ( $ class ) -> value ( $ this ) ; } catch ( ResolvingExceptionInterface $ e ) { throw new ReflectionContainerException ( $ class , $ e ) ; } } return $ this -> instances [ $ class ] ; }
Return an instance of the given class name. Cache the created instance so
the same one is returned on multiple calls.

@param string $class
@return mixed
@throws \Ellipse\Container\Exceptions\ReflectionContainerException
Return an instance of the given class name . Cache the created instance so the same one is returned on multiple calls .