WsdlToPhp\PackageGenerator\Container\Model\StructValue::getStructValueByName PHP Method

getStructValueByName() public method

public getStructValueByName ( string $name ) : StructValue | null
$name string
return WsdlToPhp\PackageGenerator\Model\StructValue | null
    public function getStructValueByName($name)
    {
        return $this->get($name);
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Gets the value object for the given value
  * @uses Struct::getValues()
  * @uses AbstractModel::getName()
  * @param string $value Value name
  * @return StructValue|null
  */
 public function getValue($value)
 {
     return $this->values->getStructValueByName($value);
 }