how to pass data in view with php?

Blockquote
Hello, I will need an experienced look:
I am in training and I rely on a tutorial to carry out a blog project developed in php-> POO-> MVC.

https://www.youtube.com/watch?v=iB4NEbId6kY&list=PLeeuvNW2FHVgfbhZM3S8kqZOmnY7TEorW&index=3

when i switch to my content view, the tutorial uses laravel syntax, and phpstorm gives me an error when i echo my $ content variable in /views/layout.php at the root of my project.
Here are the following files:
enter image description here