You are here

public function Foo::test3 in Coder 8.2

Same name and namespace in other branches
  1. 7.2 coder_sniffer/Test/good/good.php \Foo::test3()

Return docs are allowed to use $this.

Return value

$this This object for chaining method calls.

File

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

Class

Foo
All classes need to have a docblock.

Code

public function test3() {
  return $this;
}