1: <?php
2:
3: namespace PHPixie\Security\Tokens\Storage\Database;
4:
5: class SQL extends \PHPixie\Security\Tokens\Storage\Database
6: {
7: protected $table;
8:
9: public function __construct($tokens, $connection, $configData)
10: {
11: parent::__construct($tokens, $connection);
12: $this->table = $configData->getRequired('table');
13: }
14:
15: protected function setSource($query)
16: {
17: $query->table($this->table);
18: }
19: }