src/ExifExtensionReader.php
public function read($filename)
    {
        $meta = new ValueBag();

        try {
            $result = @\exif_read_data($filename, '', true);
        } catch (\Exception $e) {
            return $meta;
        }

        if (!empty($result['IFD0'])) {
            foreach ($result['IFD0'] as $key => $value) {
                $meta->set("exif.$key", new MetaValue($value));
            }
        }

        return $meta;
    }
public function read($filename)
    {
        $meta = new ValueBag();

        try {
            $result = @\exif_read_data($filename, '', true);
        } catch (\Exception $e) {
            return $meta;
        }

        if (!empty($result['IFD0'])) {
            foreach ($result['IFD0'] as $key => $value) {
                $meta->set("exif.$key", new MetaValue($value));
            }
        }

        return $meta;
    }
public function read ( $ filename ) { $ meta = new ValueBag ( ) ; try { $ result = @ \ exif_read_data ( $ filename , '' , true ) ; } catch ( \ Exception $ e ) { return $ meta ; } if ( ! empty ( $ result [ 'IFD0' ] ) ) { foreach ( $ result [ 'IFD0' ] as $ key => $ value ) { $ meta -> set ( "exif.$key" , new MetaValue ( $ value ) ) ; } } return $ meta ; }
{@inheritdoc}
{