public function SimpleXMLElement::getAttributeAsPhp

Converts an attribute as a php type.

Parameters

string $name:

Return value

mixed

Overrides SimpleXMLElement::getAttributeAsPhp

1 method overrides SimpleXMLElement::getAttributeAsPhp()
SimpleXMLElement::getAttributeAsPhp in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/SimpleXMLElement.php
Converts an attribute as a php type.

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]);
}