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.
|
|
<?php
namespace App\Service\v3\Implementations;use App\Constants\v3\ErrorCode;use App\Exception\ErrorCodeException;use App\Service\v3\Interfaces\StoreLoginServicceInterface;
class StoreLoginService implements StoreLoginServicceInterface{ public function do($account,$password) { if($account == $password){ return true; }else{ throw new ErrorCodeException(ErrorCode::STORE_LOGIN_ERROR); } }
public function check() { // TODO: Implement check() method.
}
public function undo() { // TODO: Implement undo() method.
}}
|