Contao\CoreBundle\Test\Contao\ImageTest::getLegacyResize PHP Метод

getLegacyResize() публичный Метод

Provides the data for the testLegacyGet() method.
public getLegacyResize ( ) : array
Результат array
    public function getLegacyResize()
    {
        // original image, target width, target height, resize mode
        // expected result
        return ['No empty image path returns false' => [['', 100, 100, 'crop'], false], 'Inexistent file returns false' => [['foobar.jpg', 100, 100, 'crop'], false]];
    }