| 1 | <?php |
||
| 7 | class CascadeGroup extends Field |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | protected $dependency; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $hide = 'hide'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * CascadeGroup constructor. |
||
| 21 | * |
||
| 22 | * @param array $dependency |
||
| 23 | */ |
||
| 24 | public function __construct(array $dependency) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param Field $field |
||
| 31 | * @return bool |
||
| 32 | */ |
||
| 33 | public function dependsOn(Field $field) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return integer |
||
| 40 | */ |
||
| 41 | public function index() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return void |
||
| 48 | */ |
||
| 49 | public function visiable() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View|string |
||
| 56 | */ |
||
| 57 | public function render() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return void |
||
| 66 | */ |
||
| 67 | public function end() |
||
| 71 | } |
||
| 72 |