You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
691 B

<?php
namespace App\Service\v3\Implementations;
use App\Service\v3\Interfaces\CollectStoreServiceInterface;
class CollectStoreService implements CollectStoreServiceInterface
{
public function do($marketId, $storeId, $userId)
{
// TODO: Implement do() method.
}
public function check($marketId, $storeId, $userId)
{
return (bool)mt_rand(0,1);
}
public function undo($marketId, $storeId, $userId)
{
// TODO: Implement undo() method.
}
public function countByUser($userId)
{
return mt_rand(0,30);
}
public function countByStore($storeId)
{
// TODO: Implement countByStore() method.
}
}