1
<documentation title="Method Declarations">
4
Method names should not be prefixed with an underscore to indicate visibility. The static keyword, when present, should come after the visibility declaration, and the final and abstract keywords should come before.
8
<code title="Valid: Correct method naming.">
12
private function <em>bar</em>()
18
<code title="Invalid: An underscore prefix used to indicate visibility.">
22
private function <em>_bar</em>()
30
<code title="Valid: Correct ordering of method prefixes.">
34
<em>final public static</em> function <em>bar</em>()
40
<code title="Invalid: static keyword used before visibility and final used after.">
44
<em>static public final</em> function <em>bar</em>()