WsdlToPhp\PackageGenerator\Model\AbstractModel::getMetaValueFirstSet PHP Method

getMetaValueFirstSet() public method

Returns the value of the first meta value assigned to the name
public getMetaValueFirstSet ( array $names, mixed $fallback = null ) : mixed
$names array the meta names to check
$fallback mixed the fallback value if anyone is set
return mixed the meta information value
    public function getMetaValueFirstSet(array $names, $fallback = null)
    {
        $meta = $this->getMeta();
        foreach ($names as $name) {
            if (array_key_exists($name, $meta)) {
                return $meta[$name];
            }
        }
        return $fallback;
    }