Example #1
0
 public function isDownloadable(MineShow $mineShow, UpstreamShow $upstreamShow)
 {
     if (!$this->guessInfo->isSameShow($mineShow->getTitle(), $upstreamShow->getTitle())) {
         return false;
     }
     return 0 >= version_compare($mineShow->getVersion(), $upstreamShow->getVersion());
 }
Example #2
0
 public function getHash(MineShow $mineShow)
 {
     return $mineShow->__toString();
 }