scheduler->template)) { $this->{$this->scheduler->template}(); } } private function schedule_entity() { (new ScheduleEntity($this->scheduler))->run(); } private function email_statement() { (new EmailStatementService($this->scheduler))->run(); } /** * Sets the next run date of the scheduled task * */ //handle when the scheduler has been paused. }