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

AbstractBeforeAssetRenderingEvent::isInline()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
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