1 | <?php |
||
10 | class FormContentClear extends Model |
||
11 | { |
||
12 | public $count = 0; |
||
13 | |||
14 | /** @var Content|Collection */ |
||
15 | private $_records; |
||
16 | |||
17 | /** |
||
18 | * FormContentClear constructor. Pass content records collection object inside (can be empty collection) |
||
19 | * @param Content|Collection $records |
||
20 | */ |
||
21 | public function __construct($records) |
||
27 | |||
28 | /** |
||
29 | * Form display labels |
||
30 | * @return array |
||
31 | */ |
||
32 | public function labels() |
||
38 | |||
39 | /** |
||
40 | * Finally delete content item |
||
41 | */ |
||
42 | public function make() |
||
55 | } |
This check looks for function calls that miss required arguments.