Test Failed
Push — master ( e3c39f...fe570d )
by Mihail
07:20
created

Apps/Controller/Front/Content.php (1 issue)

1
<?php
2
3
namespace Apps\Controller\Front;
4
5
use Extend\Core\Arch\FrontAppController;
6
7
/**
8
 * Class Content. Controller of content app - content and categories.
9
 * @package Apps\Controller\Front
10
 */
11
class Content extends FrontAppController
12
{
13
    const TAG_PER_PAGE = 50;
14
15
    const EVENT_CONTENT_READ = 'content.read';
16
    const EVENT_RSS_READ = 'content.rss.read';
17
    const EVENT_CONTENT_LIST = 'content.list';
18
    const EVENT_TAG_LIST = 'content.tags';
19
20
    // implement boot load features
21
    use Content\Boot;
22
23
    use Content\ActionList {
24
        listing as actionList;
25
    }
26
27
    use Content\ActionRead {
28
        read as actionRead;
29
    }
30
31
    use Content\ActionUpdate {
32
        update as actionUpdate;
33
    }
34
35
    use Content\ActionTag {
36
        tag as actionTag;
37
    }
38
39
    use Content\ActionRss {
40
        rss as actionRss;
41
    }
42
43
    use Content\ActionMy {
44
        my as actionMy;
45
    }
46
47
    use Content\ActionComments {
48
        comments as actionComments;
49
    }
50
51
    use Content\ScheduledActions {
0 ignored issues
show
The trait Apps\Controller\Front\Content\ScheduledActions requires some properties which are not provided by Apps\Controller\Front\Content: $category, $path, $created_at
Loading history...
52
        sitemap as buildSitemapSchedule;
53
    }
54
}
55