Contao\CoreBundle\Test\Image\ImageFactoryTest::getCreateWithLegacyMode PHP 메소드

getCreateWithLegacyMode() 공개 메소드

Provides the data for the testCreateWithLegacyMode() method.
public getCreateWithLegacyMode ( ) : array
리턴 array
    public function getCreateWithLegacyMode()
    {
        return ['Left Top' => ['left_top', [0, 0, 1, 1]], 'Left Center' => ['left_center', [0, 0, 1, 100]], 'Left Bottom' => ['left_bottom', [0, 99, 1, 1]], 'Center Top' => ['center_top', [0, 0, 100, 1]], 'Center Center' => ['center_center', [0, 0, 100, 100]], 'Center Bottom' => ['center_bottom', [0, 99, 100, 1]], 'Right Top' => ['right_top', [99, 0, 1, 1]], 'Right Center' => ['right_center', [99, 0, 1, 100]], 'Right Bottom' => ['right_bottom', [99, 99, 1, 1]], 'Invalid' => ['top_left', [0, 0, 100, 100]]];
    }