| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class State_Change_Queue { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Events |
||
| 22 | * |
||
| 23 | * @var Plugin_State_Change[] |
||
| 24 | */ |
||
| 25 | protected $events; |
||
| 26 | |||
| 27 | /** @param Plugin_State_Change ...$event */ |
||
| 28 | public function __construct( Plugin_State_Change ...$event ) { |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Runs all of the queued events. |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | public function __invoke() { |
||
| 52 |