Valid Class Name

Class names must be written in Pascal case. This means that it starts with a capital letter, and the first letter of each word in the class name is capitalized. Only letters and numbers are allowed.

Valid: Class name starts with a capital letter.

class <em>PascalCaseStandard</em> { }

Invalid: Class name does not start with a capital letter.

class <em>notPascalCaseStandard</em> { }

Valid: Class name contains only letters and numbers.

class <em>PSR7Response</em> { }

Invalid: Class name contains underscores.

class <em>PSR7_Response</em> { }