mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
sf4, adding workflow and fix errors for task bundle
This commit is contained in:
parent
00c3d1cb97
commit
f7902dd940
@ -23,7 +23,7 @@ namespace Chill\ReportBundle\Timeline;
|
|||||||
use Chill\MainBundle\Timeline\TimelineProviderInterface;
|
use Chill\MainBundle\Timeline\TimelineProviderInterface;
|
||||||
use Doctrine\ORM\EntityManager;
|
use Doctrine\ORM\EntityManager;
|
||||||
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
|
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
|
||||||
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
|
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
||||||
use Symfony\Component\Security\Core\Role\Role;
|
use Symfony\Component\Security\Core\Role\Role;
|
||||||
use Doctrine\ORM\Mapping\ClassMetadata;
|
use Doctrine\ORM\Mapping\ClassMetadata;
|
||||||
use Chill\PersonBundle\Entity\Person;
|
use Chill\PersonBundle\Entity\Person;
|
||||||
@ -64,11 +64,27 @@ class TimelineReportProvider implements TimelineProviderInterface
|
|||||||
*/
|
*/
|
||||||
protected $customFieldsHelper;
|
protected $customFieldsHelper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var
|
||||||
|
*/
|
||||||
protected $showEmptyValues;
|
protected $showEmptyValues;
|
||||||
|
|
||||||
public function __construct(EntityManager $em, AuthorizationHelper $helper,
|
/**
|
||||||
TokenStorage $storage, CustomFieldsHelper $customFieldsHelper,
|
* TimelineReportProvider constructor.
|
||||||
$showEmptyValues)
|
*
|
||||||
|
* @param EntityManager $em
|
||||||
|
* @param AuthorizationHelper $helper
|
||||||
|
* @param TokenStorageInterface $storage
|
||||||
|
* @param CustomFieldsHelper $customFieldsHelper
|
||||||
|
* @param $showEmptyValues
|
||||||
|
*/
|
||||||
|
public function __construct(
|
||||||
|
EntityManager $em,
|
||||||
|
AuthorizationHelper $helper,
|
||||||
|
TokenStorageInterface $storage,
|
||||||
|
CustomFieldsHelper $customFieldsHelper,
|
||||||
|
$showEmptyValues
|
||||||
|
)
|
||||||
{
|
{
|
||||||
$this->em = $em;
|
$this->em = $em;
|
||||||
$this->helper = $helper;
|
$this->helper = $helper;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user