| Total Complexity | 5 |
| Total Lines | 64 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class UserCoverModel |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Username. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $_user; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Either anime or manga. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $_type; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * CSS style. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $_style; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Default constructor. |
||
| 35 | * |
||
| 36 | * @param string $user |
||
| 37 | * @param string $type |
||
| 38 | * @param string $style |
||
| 39 | * @param string $parserArea |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | public function __construct($user, $type, $style) |
||
| 51 | } |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Get user cover. |
||
| 56 | * |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getAllInfo() |
||
| 76 |