public function get() { if (!empty($this->operations)) { // Run the workflows foreach ($this->operations as $operation) { $response = Painless::exec($operation); } } }