build/BuildMetadataFromXml.php
public static function getMetadataFilter($liteBuild, $specialBuild)
    {
        if ($specialBuild) {
            if ($liteBuild) {
                throw new \RuntimeException('liteBuild and specialBuild may not both be set');
            }
            return MetadataFilter::forSpecialBuild();
        }
        if ($liteBuild) {
            return MetadataFilter::forLiteBuild();
        }

        return MetadataFilter::emptyFilter();
    }
public static function getMetadataFilter($liteBuild, $specialBuild)
    {
        if ($specialBuild) {
            if ($liteBuild) {
                throw new \RuntimeException('liteBuild and specialBuild may not both be set');
            }
            return MetadataFilter::forSpecialBuild();
        }
        if ($liteBuild) {
            return MetadataFilter::forLiteBuild();
        }

        return MetadataFilter::emptyFilter();
    }
public static function getMetadataFilter ( $ liteBuild , $ specialBuild ) { if ( $ specialBuild ) { if ( $ liteBuild ) { throw new \ RuntimeException ( 'liteBuild and specialBuild may not both be set' ) ; } return MetadataFilter :: forSpecialBuild ( ) ; } if ( $ liteBuild ) { return MetadataFilter :: forLiteBuild ( ) ; } return MetadataFilter :: emptyFilter ( ) ; }
Processes the custom build flags and gets a MetadataFilter which may be used to
filter PhoneMetadata objects. Incompatible flag combinations throw RuntimeException.
@param bool $liteBuild
@param bool $specialBuild
@return MetadataFilter
Processes the custom build flags and gets a MetadataFilter which may be used to filter PhoneMetadata objects . Incompatible flag combinations throw RuntimeException .