| 1: | <?php |
| 2: | |
| 3: | namespace LaravelUi5\Core\Ui5; |
| 4: | |
| 5: | use LaravelUi5\Core\Contracts\Ui5Args; |
| 6: | use LaravelUi5\Core\Ui5\Contracts\ParameterizableInterface; |
| 7: | use LaravelUi5\Core\Ui5\Contracts\Ui5ActionInterface; |
| 8: | |
| 9: | abstract class AbstractUi5Action implements Ui5ActionInterface, ParameterizableInterface |
| 10: | { |
| 11: | protected Ui5Args $args; |
| 12: | |
| 13: | public function withArgs(Ui5Args $args): static |
| 14: | { |
| 15: | $this->args = $args; |
| 16: | return $this; |
| 17: | } |
| 18: | |
| 19: | public function args(): Ui5Args |
| 20: | { |
| 21: | return $this->args; |
| 22: | } |
| 23: | } |
| 24: | |