Guest User

Untitled

a guest
May 25th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <?php
  2.  
  3. define("START", microtime(true));
  4. define("ROOT", realpath(__DIR__.'/../'));
  5.  
  6. include '../vendor/autoload.php';
  7.  
  8. include ROOT . '/application/Library/Application.php';
  9.  
  10. AppApplication::getClass('test')->test();
  11.  
  12. "autoload": {
  13. "psr-4": {
  14. "App\": "application/"
  15. }
  16. }
  17.  
  18. include ROOT . '/application/Library/Application.php';
  19.  
  20. <?php
  21.  
  22. namespace App;
  23.  
  24. class Application
  25. {
  26. public static function getClass($library){} // removed body for minimal example
  27. }
  28.  
  29. ?>
Add Comment
Please, Sign In to add comment