PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: 2 days ago
Size: 538 bytes
 

Contents

Class file image Download
<documentation title="Method Name"> <standard> <![CDATA[ Method names MUST be declared in camelCase. ]]> </standard> <code_comparison> <code title="Valid: Method name in camelCase."> <![CDATA[ class Foo { private function <em>doBar</em>() { } } ]]> </code> <code title="Invalid: Method name not in camelCase."> <![CDATA[ class Foo { private function <em>do_bar</em>() { } } ]]> </code> </code_comparison> </documentation>