| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 22 | class RadioStationMapper extends BaseMapper { |
||
| 23 | public function __construct(IDBConnection $db, IConfig $config) { |
||
| 24 | parent::__construct($db, $config, 'music_radio_stations', RadioStation::class, 'name'); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return RadioStation |
||
| 29 | */ |
||
| 30 | public function findByStreamUrl(string $url, string $userId) : RadioStation { |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Overridden from the base implementation to provide support for table-specific rules |
||
| 37 | * |
||
| 38 | * {@inheritdoc} |
||
| 39 | * @see BaseMapper::advFormatSqlCondition() |
||
| 40 | */ |
||
| 41 | protected function advFormatSqlCondition(string $rule, string $sqlOp, string $conv) : string { |
||
| 49 |