public function commandShouldLastLessThan($seconds) { if ($this->lastExecutionTime > $seconds) { throw new \Exception(sprintf("Last command last %s which is more than %s seconds", $lastExecutionTime, $seconds)); } }