protected function execute(InputInterface $input, OutputInterface $output) { $project = new Project(['id' => getenv('PROJECT_ID')]); if (($hours = $project->remainingHours()) > 0) { throw Table::out("You have {$hours} hour/s remaining dammit! LOG IT! (╯°□°)╯︵ ┻━┻"); } if ($this->hasLogged()) { $output->writeln("<info>You're already out! ( ̄﹃ ̄)</info>"); exit; } if (!$this->inTheOffice()) { throw Tantrum::overtime(); } $output->writeln("<info>Peace out! (╯°□°)╯︵ ┻━┻</info>"); (new Skype())->send('out'); $this->cacheTimeOut(); }