You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 2 година
1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Config;
  3. use CodeIgniter\Config\BaseService;
  4. /**
  5. * Services Configuration file.
  6. *
  7. * Services are simply other classes/libraries that the system uses
  8. * to do its job. This is used by CodeIgniter to allow the core of the
  9. * framework to be swapped out easily without affecting the usage within
  10. * the rest of your application.
  11. *
  12. * This file holds any application-specific services, or service overrides
  13. * that you might need. An example has been included with the general
  14. * method format you should use for your service methods. For more examples,
  15. * see the core Services file at system/Config/Services.php.
  16. */
  17. class Services extends BaseService
  18. {
  19. /*
  20. * public static function example($getShared = true)
  21. * {
  22. * if ($getShared) {
  23. * return static::getSharedInstance('example');
  24. * }
  25. *
  26. * return new \CodeIgniter\Example();
  27. * }
  28. */
  29. }