code: public function setProvides(array $provides)
      {
          $this->provides = $this->replaceSelfVersionDependencies($provides, 'provides');
          $this->aliasOf->setProvides($provides);
      }
docs: {@inheritDoc}