PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Classes/ClassInstantiationStandard.xml

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Classes/ClassInstantiationStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Docs/Classes/ClassInstantiationStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 504 bytes
 

Contents

Class file image Download
<documentation title="Class Instantiation"> <standard> <![CDATA[ When instantiating a new class, parenthesis MUST always be present even when there are no arguments passed to the constructor. ]]> </standard> <code_comparison> <code title="Valid: Parenthesis used."> <![CDATA[ new Foo(); ]]> </code> <code title="Invalid: Parenthesis not used."> <![CDATA[ new Foo; ]]> </code> </code_comparison> </documentation>