eZ\Publish\Core\FieldType\BinaryFile\BinaryFileStorage\Gateway\LegacyStorage::getPropertyMapping PHP Method

getPropertyMapping() protected method

Returns a column to property mapping for the storage table.
protected getPropertyMapping ( ) : array
return array
    protected function getPropertyMapping()
    {
        $propertyMap = parent::getPropertyMapping();
        $propertyMap['download_count'] = array('name' => 'downloadCount', 'cast' => 'intval');
        return $propertyMap;
    }