Completed
Push — master ( 9ec196...c21c38 )
by Alex
11:51
created

OrbitaleCmsExtensionStub   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 1 Features 1
Metric Value
wmc 2
c 2
b 1
f 1
lcom 0
cbo 1
dl 0
loc 17
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A isSymfony3() 0 4 1
1
<?php
2
3
/*
4
* This file is part of the OrbitaleCmsBundle package.
5
*
6
* (c) Alexandre Rock Ancelet <[email protected]>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace Orbitale\Bundle\CmsBundle\Tests\Fixtures\App\Stub;
13
14
use Orbitale\Bundle\CmsBundle\DependencyInjection\OrbitaleCmsExtension;
15
16
class OrbitaleCmsExtensionStub extends OrbitaleCmsExtension
17
{
18
    /**
19
     * @var bool
20
     */
21
    private $isSymfony3;
22
23
    public function __construct($isSymfony3)
24
    {
25
        $this->isSymfony3 = $isSymfony3;
26
    }
27
28
    protected function isSymfony3()
29
    {
30
        return $this->isSymfony3;
31
    }
32
}
33