PHP Class PartKeepr\CoreBundle\Action\SystemNoticeAcknowledgeAction

Inheritance: use trait Dunglas\ApiBundle\Action\ActionUtilTrait
Datei anzeigen Open project: partkeepr/PartKeepr

Public Methods

Method Description
__construct ( Dunglas\ApiBundle\Model\DataProviderInterface $dataProvider, EntityManager $entityManager )
__invoke ( Request $request, integer $id ) : array | Dunglas\ApiBundle\Model\PaginatorInterface | Traversable Sets the acknowledged flag for a system notice.

Method Details

__construct() public method

public __construct ( Dunglas\ApiBundle\Model\DataProviderInterface $dataProvider, EntityManager $entityManager )
$dataProvider Dunglas\ApiBundle\Model\DataProviderInterface
$entityManager Doctrine\ORM\EntityManager

__invoke() public method

Sets the acknowledged flag for a system notice.
public __invoke ( Request $request, integer $id ) : array | Dunglas\ApiBundle\Model\PaginatorInterface | Traversable
$request Symfony\Component\HttpFoundation\Request The request
$id integer The ID of the system notice
return array | Dunglas\ApiBundle\Model\PaginatorInterface | Traversable