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 |
public abstract function getEntityIds($machine, $state = null);
public function getEntityIds($machine, $state = null) { return $this->writer->getEntityIds($machine, $state); }