Extension.php 711 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\base;
  8. /**
  9. * Extension is the base class that may be extended by individual extensions.
  10. *
  11. * Extension serves as the bootstrap class for extensions. When an extension
  12. * is installed via composer, the [[init()]] method of its Extension class (if any)
  13. * will be invoked during the application initialization stage.
  14. *
  15. * @author Qiang Xue <[email protected]>
  16. * @since 2.0
  17. */
  18. class Extension
  19. {
  20. /**
  21. * Initializes the extension.
  22. * This method is invoked at the end of [[Application::init()]].
  23. */
  24. public static function init()
  25. {
  26. }
  27. }