WsdlToPhp\PackageGenerator\Model\Struct::getIsStruct PHP Method

getIsStruct() public method

Returns the isStruct value
public getIsStruct ( ) : boolean
return boolean
    public function getIsStruct()
    {
        return $this->isStruct;
    }

Usage Example

示例#1
0
 /**
  * @param PhpMethod $method
  * @param StructModel $struct
  * @return ClassMap
  */
 protected function addStructToClassMapList(PhpMethod $method, StructModel $struct)
 {
     if ($struct->getIsStruct() && !$struct->getIsRestriction()) {
         $method->addChild($method->getIndentedString(sprintf('\'%s\' => \'%s\',', $struct->getName(), $this->getStructName($struct)), 1));
     }
     return $this;
 }