function Main::__get in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/Main.php \Drupal\xautoload\Main::__get()
Magic getter for service objects. This lets this class act as a proxy for the service container.
Parameters
string $key:
Return value
mixed
Overrides ServiceContainerInterface::__get
File
- lib/
Main.php, line 120
Class
Namespace
Drupal\xautoloadCode
function __get($key) {
return $this->services
->__get($key);
}