BlockHello   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A configureSettings() 0 6 1
1
<?php
2
3
namespace Alpixel\Bundle\CMSBundle\Admin\Block;
4
5
use Sonata\BlockBundle\Block\BaseBlockService;
6
use Symfony\Component\OptionsResolver\OptionsResolver;
7
8
/**
9
 * @author Alexis BUSSIERES <[email protected]>
10
 */
11
class BlockHello extends BaseBlockService
0 ignored issues
show
Deprecated Code introduced by
The class Sonata\BlockBundle\Block\BaseBlockService has been deprecated with message: since 3.2, to be removed with 4.0

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
12
{
13
    public function configureSettings(OptionsResolver $resolver)
14
    {
15
        $resolver->setDefaults([
16
            'template' => 'AlpixelCMSBundle:admin/Block:block_hello.html.twig',
17
        ]);
18
    }
19
}
20