| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class DatabaseCheck implements EnvironmentCheck |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $checkTable; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * By default, Member will be checked. |
||
| 23 | * |
||
| 24 | * @param string $checkTable |
||
| 25 | */ |
||
| 26 | public function __construct($checkTable = 'Member') |
||
| 27 | { |
||
| 28 | $this->checkTable = $checkTable; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritDoc} |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function check() |
||
| 49 | } |
||
| 50 | } |
||
| 51 |