WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Tag\AbstractTag::hasAttributeValue PHP Method

hasAttributeValue() public method

public hasAttributeValue ( ) : boolean
return boolean
    public function hasAttributeValue()
    {
        return $this->hasAttribute(Attribute::ATTRIBUTE_VALUE);
    }

Usage Example

 /**
  * @param Tag $tag
  * @param Tag $child
  * @return TagRestriction
  */
 private function parseRestrictionChild(Tag $tag, Tag $child)
 {
     if ($child->hasAttributeValue() && ($model = $this->getModel($tag)) instanceof Struct) {
         $model->addMeta($child->getName(), $child->getValueAttributeValue(true));
     } else {
         foreach ($child->getAttributes() as $attribute) {
             $this->parseRestrictionChildAttribute($tag, $child, $attribute);
         }
     }
     return $this;
 }
All Usage Examples Of WsdlToPhp\PackageGenerator\DomHandler\Wsdl\Tag\AbstractTag::hasAttributeValue