src/Model/Struct.php
public function getDocSubPackages()
    {
        $package = self::DOC_SUB_PACKAGE_STRUCTS;
        if ($this->isRestriction()) {
            $package = self::DOC_SUB_PACKAGE_ENUMERATIONS;
        } elseif ($this->isArray()) {
            $package = self::DOC_SUB_PACKAGE_ARRAYS;
        }
        return [
            $package,
        ];
    }
public function getDocSubPackages()
    {
        $package = self::DOC_SUB_PACKAGE_STRUCTS;
        if ($this->isRestriction()) {
            $package = self::DOC_SUB_PACKAGE_ENUMERATIONS;
        } elseif ($this->isArray()) {
            $package = self::DOC_SUB_PACKAGE_ARRAYS;
        }
        return [
            $package,
        ];
    }
public function getDocSubPackages ( ) { $ package = self :: DOC_SUB_PACKAGE_STRUCTS ; if ( $ this -> isRestriction ( ) ) { $ package = self :: DOC_SUB_PACKAGE_ENUMERATIONS ; } elseif ( $ this -> isArray ( ) ) { $ package = self :: DOC_SUB_PACKAGE_ARRAYS ; } return [ $ package , ] ; }
Returns the sub package name which the model belongs to
Must be overridden by sub classes
@see AbstractModel::getDocSubPackages()
@uses Struct::isRestriction()
@return array
Returns the sub package name which the model belongs to Must be overridden by sub classes