public function isStandardModeProperty(string $propertyName, WriterInterface $writer) : bool
    {
        $outputProperties = [
            'MajorVer' => 1,
            'MinorVer' => 1,
            'Crawler' => 1,
            'Browser_Maker' => 1,
            'Device_Pointing_Method' => 1,
        ];

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

        if (in_array($writer->getType(), [WriterInterface::TYPE_CSV, WriterInterface::TYPE_XML])) {
            $additionalProperties = ['PropertyName', 'MasterParent', 'LiteMode'];

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

        return false;
    }
public function isStandardModeProperty(string $propertyName, WriterInterface $writer) : bool
    {
        $outputProperties = [
            'MajorVer' => 1,
            'MinorVer' => 1,
            'Crawler' => 1,
            'Browser_Maker' => 1,
            'Device_Pointing_Method' => 1,
        ];

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

        if (in_array($writer->getType(), [WriterInterface::TYPE_CSV, WriterInterface::TYPE_XML])) {
            $additionalProperties = ['PropertyName', 'MasterParent', 'LiteMode'];

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

        return false;
    }
public function isStandardModeProperty ( string $ propertyName , WriterInterface $ writer ) : bool { $ outputProperties = [ 'MajorVer' => 1 , 'MinorVer' => 1 , 'Crawler' => 1 , 'Browser_Maker' => 1 , 'Device_Pointing_Method' => 1 , ] ; if ( isset ( $ outputProperties [ $ propertyName ] ) ) { return true ; } if ( in_array ( $ writer -> getType ( ) , [ WriterInterface :: TYPE_CSV , WriterInterface :: TYPE_XML ] ) ) { $ additionalProperties = [ 'PropertyName' , 'MasterParent' , 'LiteMode' ] ; if ( in_array ( $ propertyName , $ additionalProperties ) ) { return true ; } } return false ; }
Determine if the specified property is an property that should
be included in the "standard" or "full" versions of the files only

@param string          $propertyName
@param WriterInterface $writer

@return bool
Determine if the specified property is an property that should be included in the standard or full versions of the files only