luyadev/luya-module-admin

View on GitHub
src/filters/SmallLandscape.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace luya\admin\filters;

use luya\admin\base\Filter;

/**
 * Admin Module default Filter: Small Landscape (150x50)
 *
 * @author Basil Suter <basil@nadar.io>
 * @since 1.0.0
 */
class SmallLandscape extends Filter
{
    public static function identifier()
    {
        return 'small-landscape';
    }

    public function name()
    {
        return 'Landscape small (150x50)';
    }

    public function chain()
    {
        return [
            [self::EFFECT_THUMBNAIL, [
                'width' => 150,
                'height' => 50,
            ]],
        ];
    }
}