Is there a way I can include files same folder automatically?
I see lot of code in application I am working on that has this kind of code. Specific example is swift mailer (if anyone is aware of that). But this can also be used as general example:
Folder: vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport
|
--- File MailInvoker.php
|
--- interface Swift_Transport_MailInvoker
|
--- File SimpleMailInvoker.php
|
--- class Swift_Transport_SimpleMailInvoker implements Swift_Transport_MailInvoker
I am unable to figure out without any specific include statements or without any mention in any of autoload files, how class can use interface.
Thanks in advance for help!