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;
}