| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | abstract class SaitoTableTestCase extends SaitoTestCase |
||
| 20 | { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | public $tableClass; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var Table |
||
| 29 | */ |
||
| 30 | public $Table; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritDoc} |
||
| 34 | */ |
||
| 35 | public function setUp() |
||
| 36 | { |
||
| 37 | parent::setUp(); |
||
| 38 | |||
| 39 | TableRegistry::clear(); |
||
|
|
|||
| 40 | $this->Table = TableRegistry::get($this->tableClass); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritDoc} |
||
| 45 | */ |
||
| 46 | public function tearDown() |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.