| Total Complexity | 2 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | abstract class Tiqr_DeviceStorage_Abstract |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * The options available to the devicestorage implementation |
||
| 30 | * @var array |
||
| 31 | */ |
||
| 32 | protected $_options = array(); |
||
| 33 | |||
| 34 | /** |
||
| 35 | * get a deviceToken for a certain notificationToken. |
||
| 36 | * @param String $notificationToken |
||
| 37 | * @return String deviceToken |
||
| 38 | */ |
||
| 39 | public abstract function getDeviceToken($notificationToken); |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Initialize the devicestorage instance right after creation. |
||
| 43 | * The derived classes may optionally use this to initialize the |
||
| 44 | * storage. |
||
| 45 | */ |
||
| 46 | public function init() |
||
| 48 | |||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Create an instance of a device storage. Should not be used directly, as |
||
| 53 | * the Tiqr_DeviceStorage factory will call this for you. |
||
| 54 | * @param array $options The options for the s |
||
| 55 | */ |
||
| 56 | public function __construct($options=array()) |
||
| 61 | } |