Manager/RepoManager.php
public function isExists(Repo $repo)
    {
        $anotherRepo = $this->findBySlug($repo->getSlug());

        return ($anotherRepo != null && $repo->getId() != $anotherRepo->getId());
    }
public function isExists(Repo $repo)
    {
        $anotherRepo = $this->findBySlug($repo->getSlug());

        return ($anotherRepo != null && $repo->getId() != $anotherRepo->getId());
    }
public function isExists ( Repo $ repo ) { $ anotherRepo = $ this -> findBySlug ( $ repo -> getSlug ( ) ) ; return ( $ anotherRepo != null && $ repo -> getId ( ) != $ anotherRepo -> getId ( ) ) ; }
Checks if slug exist

@param Repo $repo
@return boolean
Checks if slug exist