This method will be highly useful when you want to select a batch of
entities to feed to the statemachine, for example in a cron job or a
message queue.
abstract public getEntityIds ( string $machine, string $state = null ) : string[] | ||
$machine | string | the name of the machine |
$state | string | optional: if provided, only those entities in the specific state |
return | string[] | an array of entity_id's |