public function setShared($key, $definition = [])
    {
        $this->_definitions[$key] = $this->formatDefinition($key, $definition);
        $this->_singletons[$key] = null;
        return $this;
    }