BlockHello::configureSettings()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

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