Contao\CoreBundle\Test\Contao\ImageTest::getLegacyGet PHP 메소드

getLegacyGet() 공개 메소드

Provides the data for the testLegacyGet() method.
public getLegacyGet ( ) : array
리턴 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]];
    }