| 1 | <?php  | 
            ||
| 8 | class DBRetriever extends AbstractParser  | 
            ||
| 9 | { | 
            ||
| 10 | /** @var DBProvider */  | 
            ||
| 11 | protected $dbProvider;  | 
            ||
| 12 |     public function getDbProvider() { return $this->dbProvider; } | 
            ||
| 14 | /** @var string */  | 
            ||
| 15 | protected $table;  | 
            ||
| 16 |     public function getTable() { return $this->table; } | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * DBRetriever constructor.  | 
            ||
| 21 | * @param DBProvider $dbProvider  | 
            ||
| 22 | * @param string $table  | 
            ||
| 23 | * @param string $errorMessage  | 
            ||
| 24 | */  | 
            ||
| 25 | public function __construct(DBProvider $dbProvider, string $table, string $errorMessage = "")  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @param $rawValue  | 
            ||
| 34 | * @return mixed  | 
            ||
| 35 | *  | 
            ||
| 36 | * @throws ParsingException  | 
            ||
| 37 | */  | 
            ||
| 38 | public function parse($rawValue)  | 
            ||
| 57 | }  |