Converts an attribute as a php type.
Parameters
string $name:
Return value
mixed
Overrides SimpleXMLElement::getAttributeAsPhp
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/SimpleXMLElement.php, line 28
Class
- SimpleXMLElement
- SimpleXMLElement class.
Namespace
Symfony\Component\DependencyInjection
Code
public function getAttributeAsPhp($name) {
return self::phpize($this[$name]);
}