You are here

class MyExampleLog in Coder 8.2

Same name and namespace in other branches
  1. 7.2 coder_sniffer/Test/good/good.php \MyExampleLog

Nice alignment is allowed for assignments.

Hierarchy

Expanded class hierarchy of MyExampleLog

File

coder_sniffer/Drupal/Test/good/good.php, line 695
This file contains all the valid notations for the drupal coding standard.

View source
class MyExampleLog {
  const INFO = 0;
  const WARNING = 1;
  const ERROR = 2;
  const EMERGENCY = 3;

  /**
   * Empty method implementation is allowed.
   */
  public function emptyMethod() {
  }

  /**
   * Protected functions are allowed.
   */
  protected function protectedTest() {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MyExampleLog::EMERGENCY constant
MyExampleLog::emptyMethod public function Empty method implementation is allowed.
MyExampleLog::ERROR constant
MyExampleLog::INFO constant
MyExampleLog::protectedTest protected function Protected functions are allowed.
MyExampleLog::WARNING constant