public function Foo::__toString in Coder 8.2
Same name and namespace in other branches
- 7.2 coder_sniffer/Test/good/good.php \Foo::__toString()
Returns the string representatuion of this object.
File
- coder_sniffer/
Drupal/ Test/ good/ good.php, line 1020 - This file contains all the valid notations for the drupal coding standard.
Class
- Foo
- All classes need to have a docblock.
Code
public function __toString() {
return 'foo';
}