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

getLegacyGet() public method

Provides the data for the testLegacyGet() method.
public getLegacyGet ( ) : array
return array
    public function getLegacyGet()
    {
        // original image, target width, target height, resize mode, target, force override
        // expected result
        return ['No empty image path returns null' => [['', 100, 100, 'crop', null, false], null], 'Inexistent file returns null' => [['foobar.jpg', 100, 100, 'crop', null, false], null]];
    }