for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace FondBot\Foundation\Commands;
use FondBot\Conversation\Session;
use FondBot\Conversation\SessionManager;
class SaveSession
{
private $session;
public function __construct(Session $session)
$this->session = $session;
}
public function handle(SessionManager $manager): void
$manager->save($this->session);