1 | <?php |
||
13 | abstract class ReadableDocument |
||
|
|||
14 | { |
||
15 | protected $filePath; |
||
16 | protected $extension; |
||
17 | protected $fs; |
||
18 | |||
19 | 122 | public function __construct($filePath) |
|
27 | |||
28 | 65 | final public function getRelativeFilePath() |
|
32 | |||
33 | 12 | final public function getExtension() |
|
37 | |||
38 | 64 | final public function getBaseName() |
|
42 | |||
43 | 24 | final public function getFilePath() |
|
47 | |||
48 | 30 | final public function getFileName() |
|
52 | |||
53 | abstract public function refreshFileContent(); |
||
54 | } |
||
55 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.