| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | class Theme extends AbstractEntity |
||
| 29 | { |
||
| 30 | |||
| 31 | use CrudTrait; |
||
| 32 | |||
| 33 | const TYPE = 'theme'; |
||
| 34 | const DIR = 'themes'; |
||
| 35 | |||
| 36 | const ROLE_MAIN = 'main'; |
||
| 37 | const ROLE_UNPUBLISHED = 'unpublished'; |
||
| 38 | const ROLE_DEMO = 'demo'; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return Asset[] |
||
| 42 | */ |
||
| 43 | public function getAssets() |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return Asset |
||
| 50 | */ |
||
| 51 | public function newAsset() |
||
| 57 | } |