Completed
Push — master ( eeeacf...af5244 )
by
unknown
15:28
created

AbstractBeforeAssetRenderingEvent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 30
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A isPriority() 0 3 1
A getAssetCollector() 0 3 1
A isInline() 0 3 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace TYPO3\CMS\Core\Page\Event;
5
6
/*
7
 * This file is part of the TYPO3 CMS project.
8
 *
9
 * It is free software; you can redistribute it and/or modify it under
10
 * the terms of the GNU General Public License, either version 2
11
 * of the License, or any later version.
12
 *
13
 * For the full copyright and license information, please read the
14
 * LICENSE.txt file that was distributed with this source code.
15
 *
16
 * The TYPO3 project - inspiring people to share!
17
 */
18
19
use TYPO3\CMS\Core\Page\AssetCollector;
20
21
abstract class AbstractBeforeAssetRenderingEvent
22
{
23
    /**
24
     * @var AssetCollector
25
     */
26
    protected $assetCollector;
27
28
    /**
29
     * @var bool
30
     */
31
    protected $inline;
32
33
    /**
34
     * @var bool
35
     */
36
    protected $priority;
37
38
    public function getAssetCollector(): AssetCollector
39
    {
40
        return $this->assetCollector;
41
    }
42
43
    public function isInline(): bool
44
    {
45
        return $this->inline;
46
    }
47
48
    public function isPriority(): bool
49
    {
50
        return $this->priority;
51
    }
52
}
53