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

getContextualPart() public method

Returns the contextual part of the class name for the package
See also: AbstractModel::getContextualPart()
public getContextualPart ( ) : string
return string
    public function getContextualPart()
    {
        $part = $this->getGenerator()->getOptionStructsFolder();
        if ($this->getIsRestriction()) {
            $part = $this->getGenerator()->getOptionEnumsFolder();
        } elseif ($this->isArray()) {
            $part = $this->getGenerator()->getOptionArraysFolder();
        }
        return $part;
    }