getPathname()); if ($deleted) { $count++; } } catch (\Exception $e) { $this->error($e->getMessage()); } } $this->line('Deleted sessions: '.$count); } catch (\Exception $e) { $this->error($e->getMessage()); } } }