1 | <?php |
||
35 | abstract class Column implements ColumnInterface |
||
|
|||
36 | { |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $name; |
||
42 | |||
43 | /** |
||
44 | * Column constructor. |
||
45 | * |
||
46 | * @param string $name |
||
47 | */ |
||
48 | public function __construct($name) |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | */ |
||
56 | public function getName() |
||
60 | |||
61 | /** |
||
62 | * isForeignKey |
||
63 | * |
||
64 | * @return bool |
||
65 | */ |
||
66 | public function isForeignKey() |
||
73 | |||
74 | /** |
||
75 | * @return string |
||
76 | */ |
||
77 | public function __toString() |
||
83 | } |
||
84 |
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.