1 | <?php |
||
8 | abstract class AbstractResourceTest extends \PHPUnit_Framework_TestCase |
||
9 | { |
||
10 | abstract function getClass(): string; |
||
11 | |||
12 | public function provideProperties() |
||
18 | |||
19 | /** |
||
20 | * @dataProvider provideProperties |
||
21 | */ |
||
22 | public function testProperties() |
||
26 | |||
27 | public function testInterface() |
||
36 | } |
||
37 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.