Total Complexity | 7 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class Roll extends Roulete { |
||
12 | |||
13 | private static $items; |
||
14 | private static $return; |
||
|
|||
15 | |||
16 | public static function put($items) |
||
17 | { |
||
18 | self::$items = $items; |
||
19 | |||
20 | return new static(); |
||
21 | } |
||
22 | public static function spin() |
||
23 | { |
||
24 | return self::getItem(); |
||
25 | } |
||
26 | public static function dropUp($items, $rate) |
||
27 | { |
||
28 | self::itemDropUp($items,$rate); |
||
29 | return new static(); |
||
30 | } |
||
31 | private static function getItem(){ |
||
35 | } |
||
36 | private static function itemDropUp($items,$rate){ |
||
37 | if(is_array($items)) |
||
38 | { |
||
48 | } |