functions
3 years ago
operators
3 years ago
render-states
3 years ago
condition-item.php
3 years ago
condition-manager.php
3 years ago
condition-response-object.php
3 years ago
functions.php
3 years ago
operators.php
3 years ago
render-state.php
3 years ago
render-states-collection.php
3 years ago
render-states-collection.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks\Conditional_Block; |
| 5 | |
| 6 | use Jet_Form_Builder\Blocks\Conditional_Block\Render_States\Base_Render_State; |
| 7 | use Jet_Form_Builder\Classes\Arrayable\Collection; |
| 8 | |
| 9 | class Render_States_Collection extends Collection { |
| 10 | |
| 11 | /** |
| 12 | * @param Base_Render_State $item |
| 13 | * |
| 14 | * @return Collection |
| 15 | */ |
| 16 | public function push( Base_Render_State $item ): Collection { |
| 17 | return parent::add( $item ); |
| 18 | } |
| 19 | |
| 20 | } |
| 21 |