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