| 1 | <?php |
||
| 11 | class Table |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $dataBaseName; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $name; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var Test |
||
| 25 | */ |
||
| 26 | private $test; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Constructor. |
||
| 30 | * |
||
| 31 | * @param Test $test |
||
| 32 | * @param string $dataBaseName |
||
| 33 | * @param string $tableName |
||
| 34 | */ |
||
| 35 | 11 | public function __construct(Test $test, $dataBaseName, $tableName) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return Test |
||
| 44 | */ |
||
| 45 | 9 | public function getTest() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 6 | public function getFullName() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 11 | public function getDataBaseName() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @return string |
||
| 68 | */ |
||
| 69 | 11 | public function getName() |
|
| 73 | |||
| 74 | /** |
||
| 75 | * @return \PHPUnit_Extensions_Database_DataSet_ITable |
||
| 76 | */ |
||
| 77 | 3 | public function toPhpUnitTable() |
|
| 82 | |||
| 83 | /** |
||
| 84 | * @return string |
||
| 85 | */ |
||
| 86 | 6 | public function getDataPath() |
|
| 91 | |||
| 92 | /** |
||
| 93 | * @param string $name |
||
| 94 | */ |
||
| 95 | 11 | private function setName($name) |
|
| 99 | |||
| 100 | /** |
||
| 101 | * @param string $dataBaseName |
||
| 102 | */ |
||
| 103 | 11 | private function setDataBaseName($dataBaseName) |
|
| 107 | |||
| 108 | /** |
||
| 109 | * @param Test $test |
||
| 110 | */ |
||
| 111 | 11 | private function setTest(Test $test) |
|
| 115 | } |
||
| 116 |