public function isLiteModeProperty(string $propertyName, WriterInterface $writer) : bool
    {
        $outputProperties = [
            'Parent' => 1,
            'Comment' => 1,
            'Browser' => 1,
            'Platform' => 1,
            'Version' => 1,
            'isMobileDevice' => 1,
            'isTablet' => 1,
            'Device_Type' => 1,
        ];

        if (isset($outputProperties[$propertyName])) {
            return true;
        }

        if (WriterInterface::TYPE_INI === $writer->getType()) {
            $additionalProperties = ['PatternId'];

            if (in_array($propertyName, $additionalProperties)) {
                return true;
            }
        }

        return false;
    }
public function isLiteModeProperty(string $propertyName, WriterInterface $writer) : bool
    {
        $outputProperties = [
            'Parent' => 1,
            'Comment' => 1,
            'Browser' => 1,
            'Platform' => 1,
            'Version' => 1,
            'isMobileDevice' => 1,
            'isTablet' => 1,
            'Device_Type' => 1,
        ];

        if (isset($outputProperties[$propertyName])) {
            return true;
        }

        if (WriterInterface::TYPE_INI === $writer->getType()) {
            $additionalProperties = ['PatternId'];

            if (in_array($propertyName, $additionalProperties)) {
                return true;
            }
        }

        return false;
    }
public function isLiteModeProperty ( string $ propertyName , WriterInterface $ writer ) : bool { $ outputProperties = [ 'Parent' => 1 , 'Comment' => 1 , 'Browser' => 1 , 'Platform' => 1 , 'Version' => 1 , 'isMobileDevice' => 1 , 'isTablet' => 1 , 'Device_Type' => 1 , ] ; if ( isset ( $ outputProperties [ $ propertyName ] ) ) { return true ; } if ( WriterInterface :: TYPE_INI === $ writer -> getType ( ) ) { $ additionalProperties = [ 'PatternId' ] ; if ( in_array ( $ propertyName , $ additionalProperties ) ) { return true ; } } return false ; }
Determine if the specified property is an property that should
be included in the all versions of the files

@param string          $propertyName
@param WriterInterface $writer

@return bool
Determine if the specified property is an property that should be included in the all versions of the files