Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait ResizableTrait |
||
8 | { |
||
9 | /** |
||
10 | * This function will return the properties that are resizable. |
||
11 | * |
||
12 | * @return array |
||
13 | */ |
||
14 | public function getResizables(): array |
||
15 | { |
||
16 | return self::RESIZEABLES; |
||
|
|||
17 | } |
||
18 | |||
19 | /** |
||
20 | * This function will return the sizes that are accepted by the resize service. |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | public function getSizes(): array |
||
27 | } |
||
28 | } |