Created
June 4, 2020 02:41
-
-
Save anvodev/f7cf413a5cc2975e2190e114962d7e7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//home_context.php | |
//to load Class & Interface file when we need them | |
spl_autoload_register(function ($class_name) { | |
include $class_name . '.php'; | |
}); | |
//at home | |
$consumer = new AtHomeConsumer(); | |
$consumer->readyToWork(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment