Good evening. I started learning Symfony 2, and try to parse a piece of code that is responsible for connecting bundles (modules).
$bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\SecurityBundle(), ); What is the new operator doing here? Creating a variable? Why do the slashes follow? Why does the string end with "()" - as if it were a function?
I see this for the first time, please tell us in detail what it is.