class FooObject in Zircon Profile 8
Same name and namespace in other branches
Hierarchy
- class \FooObject
Expanded class hierarchy of FooObject
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ Extension/ SandboxTest.php, line 189
View source
class FooObject {
public static $called = array(
'__toString' => 0,
'foo' => 0,
'getFooBar' => 0,
);
public $bar = 'bar';
public static function reset() {
self::$called = array(
'__toString' => 0,
'foo' => 0,
'getFooBar' => 0,
);
}
public function __toString() {
++self::$called['__toString'];
return 'foo';
}
public function foo() {
++self::$called['foo'];
return 'foo';
}
public function getFooBar() {
++self::$called['getFooBar'];
return 'foobar';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FooObject:: |
public | property | ||
FooObject:: |
public static | property | ||
FooObject:: |
public | function | ||
FooObject:: |
public | function | ||
FooObject:: |
public static | function | ||
FooObject:: |
public | function |