src/filesystem/DummyFileSystem.php
public function addDummyImage(array $config)
    {
        $keys = ['id', 'file_id', 'filter_id', 'resolution_width', 'resolution_height'];
        $item = array_flip($keys);
        $data = array_merge($item, $config);
        $this->_images[$data['id']] = $data;
    }
public function addDummyImage(array $config)
    {
        $keys = ['id', 'file_id', 'filter_id', 'resolution_width', 'resolution_height'];
        $item = array_flip($keys);
        $data = array_merge($item, $config);
        $this->_images[$data['id']] = $data;
    }
public function addDummyImage ( array $ config ) { $ keys = [ 'id' , 'file_id' , 'filter_id' , 'resolution_width' , 'resolution_height' ] ; $ item = array_flip ( $ keys ) ; $ data = array_merge ( $ item , $ config ) ; $ this -> _images [ $ data [ 'id' ] ] = $ data ; }
Add dummy image.

Do not forget to call `insertDummyImages()` afterwards.

@param array $config
@since 1.1.1
Add dummy image .