Contao\CoreBundle\Test\Contao\ImageTest::getCacheName PHP Method

getCacheName() public method

Provides the data for the testGetCacheName() method.
public getCacheName ( ) : array
return array
    public function getCacheName()
    {
        // target width, target height, file name (path), resize mode, zoom level, mtime, important part
        // expected cache name
        return [[[100, 100, 'dummy.jpg', 'crop', 0, 12345678, ['x' => 20, 'y' => 20, 'width' => 60, 'height' => 60]], 'assets/images/c/dummy.jpg-fc94db8c.jpg'], [[200, 100, 'test.jpg', 'proportional', 50, 87654321, ['x' => 30, 'y' => 20, 'width' => 60, 'height' => 90]], 'assets/images/3/test.jpg-4e7b07e3.jpg'], [[100, 200, 'other.jpg', 'center_center', 100, 6666666, ['x' => 10, 'y' => 20, 'width' => 70, 'height' => 20]], 'assets/images/f/other.jpg-1fe4f44f.jpg']];
    }