Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
Yes, that is how PHP includes files. There's no "import" in PHP like there is in other languages because PHP has no concept of namespaces. If you include a file, you include only that file (and any files that includes within itself) rather than an entire "package"
Thanks buddy.
I was confused for "include" actually includes the file inside another file.So while working OOPs in PHP its like including code of one file in all the files that include it. Unlike other languages, where import just holds a reference to the file.