WSDL\Parser\Node::isArray PHP Méthode

isArray() public méthode

public isArray ( ) : boolean
Résultat boolean
    public function isArray()
    {
        return $this->isArray;
    }

Usage Example

 /**
  * @param Node $node
  * @return array
  */
 private function attributes(Node $node)
 {
     if ($node->isArray()) {
         $attributes = ['name' => $node->getSanitizedName(), 'type' => 'ns:' . $node->getNameForArray()];
     } elseif ($node->isObject()) {
         $attributes = ['name' => $node->getSanitizedName(), 'element' => 'ns:' . $node->getNameForObject()];
     } else {
         $attributes = ['name' => $node->getSanitizedName(), 'type' => 'xsd:' . $node->getType()];
     }
     return $attributes;
 }
All Usage Examples Of WSDL\Parser\Node::isArray