name = pathinfo($filepath, PATHINFO_FILENAME); } public function header(): void { ?> '; /** Page */ $stylesheetPage = 'includes/assets/css/' . $this->name . '.css'; if (file_exists($stylesheetPage)) { $stylesheetPageModified = filemtime($stylesheetPage); echo ''; } ?> <?= $this->title ?>