Completed
Pull Request — master (#35)
by Alexis
02:39
created

BlockHello   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

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 Symfony\Component\OptionsResolver\OptionsResolver;
6
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
7
use Sonata\BlockBundle\Block\BaseBlockService;
8
9
/**
10
 * @author Alexis BUSSIERES <[email protected]>
11
 */
12
class BlockHello extends BaseBlockService
13
{
14
    public function configureSettings(OptionsResolver $resolver)
15
    {
16
        $resolver->setDefaults([
17
            'template' => 'AlpixelCMSBundle:admin/Block:block_hello.html.twig',
18
        ]);
19
    }
20
}