# As object

# Methods provided

Lists all methods provided by the trait.

# make

Resolves the action from the container.

MyAction::make();

// Equivalent to:
app(MyAction::class);

# run

Resolves and executes the action.

MyAction::run($someArguments);

// Equivalent to:
MyAction::make()->handle($someArguments);

# runIf

Resolves and executes the action if the condition is met.

MyAction::runIf(true, $someArguments);

# runUnless

Resolves and executes the action if some condition is not met.

MyAction::runUnless(false, $someArguments);