Add dummy SMS driver and use it as the default

This commit is contained in:
Kijin Sung 2016-11-04 20:34:50 +09:00
parent 582374295d
commit 50e3dc4574
4 changed files with 63 additions and 12 deletions

View file

@ -17,6 +17,11 @@ abstract class Base implements \Rhymix\Framework\Drivers\SMSInterface
*/
protected static $_spec = array();
/**
* Config keys used by this driver are stored here.
*/
protected static $_required_config = array();
/**
* Direct invocation of the constructor is not permitted.
*/
@ -53,7 +58,7 @@ abstract class Base implements \Rhymix\Framework\Drivers\SMSInterface
*/
public static function getRequiredConfig()
{
return array();
return static::$_required_config;
}
/**