Application.php 852 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace addons\TinyBlog\services;
  3. use common\components\Service;
  4. /**
  5. * Class Application
  6. *
  7. * @package addons\TinyBlog\services
  8. * @property ConfigService $config 默认配置
  9. * @property ArticleService $article 文章
  10. * @property SingleService $single 单页
  11. * @property CateService $cate 分类
  12. * @property AdvService $adv 幻灯片
  13. * @property TagService $tag 标签
  14. * @property FriendlyLinkService $friendlyLink 友情链接
  15. */
  16. class Application extends Service
  17. {
  18. /**
  19. * @var array
  20. */
  21. public $childService = [
  22. 'config' => ConfigService::class,
  23. 'article' => ArticleService::class,
  24. 'cate' => CateService::class,
  25. 'single' => SingleService::class,
  26. 'adv' => AdvService::class,
  27. 'tag' => TagService::class,
  28. 'friendlyLink' => FriendlyLinkService::class,
  29. ];
  30. }
粤ICP备19079148号