chill-bundles/Widget/AddAPersonWidget.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");
}
}