| 1 | <?php |
||
| 8 | class ColumnPathTest extends TestCase |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var ColumnPath |
||
| 13 | */ |
||
| 14 | private $columnPath; |
||
| 15 | |||
| 16 | protected function setUp() |
||
| 20 | |||
| 21 | protected function tearDown() |
||
| 25 | |||
| 26 | public function testGetKeyName() |
||
| 30 | |||
| 31 | public function testSetGetValue() |
||
| 37 | |||
| 38 | public function testToArray() |
||
| 44 | } |
||
| 45 |
If you implement
__calland you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__callis implemented by a parent class and only the child class knows which methods exist: