public function Decorator::__get in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/Decorator.php \Drupal\webprofiler\Decorator::__get()
- 8.2 webprofiler/src/Decorator.php \Drupal\webprofiler\Decorator::__get()
- 4.x webprofiler/src/Decorator.php \Drupal\webprofiler\Decorator::__get()
Parameters
$property:
Return value
null
File
- webprofiler/
src/ Decorator.php, line 87
Class
- Decorator
- Generic class Decorator.
Namespace
Drupal\webprofilerCode
public function __get($property) {
$object = $this
->getOriginalObject();
if (property_exists($object, $property)) {
return $object->{$property};
}
return NULL;
}