Total Complexity | 8 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class SocialBarHelper extends Helper |
||
12 | { |
||
13 | protected $templating; |
||
14 | |||
15 | public function __construct(EngineInterface $templating) |
||
16 | { |
||
17 | $this->templating = $templating; |
||
18 | } |
||
19 | |||
20 | public function socialButtons($parameters) |
||
21 | { |
||
22 | return $this->templating->render('AzineSocialBarBundle::socialButtons.html.twig', $parameters); |
||
23 | } |
||
24 | |||
25 | public function facebookButton($parameters) |
||
26 | { |
||
27 | return $this->templating->render('AzineSocialBarBundle::facebookButton.html.twig', $parameters); |
||
28 | } |
||
29 | |||
30 | public function twitterButton($parameters) |
||
31 | { |
||
32 | return $this->templating->render('AzineSocialBarBundle::twitterButton.html.twig', $parameters); |
||
33 | } |
||
34 | |||
35 | public function googlePlusButton($parameters) |
||
36 | { |
||
37 | return $this->templating->render('AzineSocialBarBundle::googlePlusButton.html.twig', $parameters); |
||
38 | } |
||
39 | |||
40 | public function linkedInButton($parameters) |
||
43 | } |
||
44 | |||
45 | public function xingButton($parameters) |
||
48 | } |
||
49 | |||
50 | public function getName() |
||
53 | } |
||
54 | } |
||
55 |