src/Model/Struct.php
public function getContextualPart()
    {
        $part = $this->getGenerator()->getOptionStructsFolder();
        if ($this->isRestriction()) {
            $part = $this->getGenerator()->getOptionEnumsFolder();
        } elseif ($this->isArray()) {
            $part = $this->getGenerator()->getOptionArraysFolder();
        }
        return $part;
    }
public function getContextualPart()
    {
        $part = $this->getGenerator()->getOptionStructsFolder();
        if ($this->isRestriction()) {
            $part = $this->getGenerator()->getOptionEnumsFolder();
        } elseif ($this->isArray()) {
            $part = $this->getGenerator()->getOptionArraysFolder();
        }
        return $part;
    }
public function getContextualPart ( ) { $ part = $ this -> getGenerator ( ) -> getOptionStructsFolder ( ) ; if ( $ this -> isRestriction ( ) ) { $ part = $ this -> getGenerator ( ) -> getOptionEnumsFolder ( ) ; } elseif ( $ this -> isArray ( ) ) { $ part = $ this -> getGenerator ( ) -> getOptionArraysFolder ( ) ; } return $ part ; }
Returns the contextual part of the class name for the package
@see AbstractModel::getContextualPart()
@uses Struct::isRestriction()
@return string
Returns the contextual part of the class name for the package