for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Toplan\PhpSms;
/**
* Class LogAgent
*/
class LogAgent extends Agent implements TemplateSms, ContentSms, VoiceCode
{
public function sendContentSms($to, $content)
$this->result(Agent::SUCCESS, true);
$this->result(Agent::INFO, 'send content sms success');
}
public function sendTemplateSms($to, $tempId, array $data)
$this->result(Agent::INFO, 'send template sms success');
public function sendVoiceCode($to, $code)
$this->result(Agent::INFO, 'send voice verify success');