code: public function getInstance(Injector $injector, $name)
      {
          if (null === $this->array) {
              $this->array = $this->resolve($injector, $name);
          }
  
          return $this->array;
      }
docs: returns the created instance
  
  @param   \stubbles\ioc\Injector  $injector
  @param   string                  $name
  @return  mixed