code: public function get($key){
          if(isset($this->objects[$key])){
              return $this->objects[$key];
          }
          throw new InjectorException("obj $key not found");
      }
docs: get an object
  @param $key
  @return mixed
  @throws InjectorException