| 1 | <?php |
||
| 20 | class ThumbConfig implements ThumbConfigInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Alias name. |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | public $alias; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Config name. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | public $name; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Thumb width. |
||
| 38 | * |
||
| 39 | * @var |
||
| 40 | */ |
||
| 41 | public $width; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Thumb height. |
||
| 45 | * |
||
| 46 | * @var |
||
| 47 | */ |
||
| 48 | public $height; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Thumb mode. |
||
| 52 | * |
||
| 53 | * @var |
||
| 54 | */ |
||
| 55 | public $mode; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Get alias name. |
||
| 59 | * |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function getAlias(): string |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Get config name. |
||
| 69 | * |
||
| 70 | * @return string |
||
| 71 | */ |
||
| 72 | public function getName(): string |
||
| 76 | |||
| 77 | /** |
||
| 78 | * Get thumb width. |
||
| 79 | * |
||
| 80 | * @return int |
||
| 81 | */ |
||
| 82 | public function getWidth(): int |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Get thumb height. |
||
| 89 | * |
||
| 90 | * @return int |
||
| 91 | */ |
||
| 92 | public function getHeight(): int |
||
| 96 | |||
| 97 | /** |
||
| 98 | * Get thumb mode. |
||
| 99 | * |
||
| 100 | * @return string |
||
| 101 | */ |
||
| 102 | public function getMode(): string |
||
| 106 | } |
||
| 107 |