<?php
use JetBrains\PhpStorm\Internal\PhpStormStubsElementAvailable;
require_once 'vendor/autoload.php';
$databasePath = DIR.'/banco.sqlite'; $pdo = new PDO(dsn:'sqlite'. $databasePath);
$student = new Student(null, 'Danilo Gusmão', new \DateTimeImmutable('1997-10-15'));
$sqlInsert = "INSERT INTO students (name, birth_date) VALUES ('{$student->name()}', '{$student->birthDate()->format('Y-m-d')}');";
echo $sqlInsert;