\ActionScheduler_InvalidActionException

InvalidAction Exception.

Used for identifying actions that are invalid in some way.

Summary

Methods
Properties
Constants
from_schedule()
from_decoding_args()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

from_schedule()

from_schedule(string  $action_id, mixed  $schedule) : static

Create a new exception when the action's schedule cannot be fetched.

Parameters

string $action_id

The action ID with bad args.

mixed $schedule

Passed schedule.

Returns

static

from_decoding_args()

from_decoding_args(string  $action_id, mixed  $args = array()) : static

Create a new exception when the action's args cannot be decoded to an array.

Parameters

string $action_id

The action ID with bad args.

mixed $args

Passed arguments.

Returns

static