mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
30 lines
656 B
PHP
30 lines
656 B
PHP
<?php
|
|
|
|
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
namespace Chill\PersonBundle\Widget;
|
|
|
|
use Chill\MainBundle\Templating\Widget\WidgetInterface;
|
|
use Twig\Environment;
|
|
|
|
|
|
/**
|
|
* Add a button "add a person"
|
|
*
|
|
* @author julien
|
|
*/
|
|
class AddAPersonWidget implements WidgetInterface
|
|
{
|
|
public function render(
|
|
Environment $env,
|
|
$place,
|
|
array $context,
|
|
array $config) {
|
|
return $env->render("ChillPersonBundle:Widget:homepage_add_a_person.html.twig");
|
|
}
|
|
}
|