PHP Class PartKeepr\TipOfTheDayBundle\Action\GetTipHistoryCollectionAction

Inheritance: use trait Dunglas\ApiBundle\Action\ActionUtilTrait
Show file Open project: partkeepr/PartKeepr

Public Methods

Method Description
__construct ( Dunglas\ApiBundle\Model\DataProviderInterface $dataProvider, UserService $userService )
__invoke ( Request $request ) : array | Dunglas\ApiBundle\Model\PaginatorInterface | Traversable Retrieves a filtered tip of the day history list. Filters by the currently logged in user by default.

Method Details

__construct() public method

public __construct ( Dunglas\ApiBundle\Model\DataProviderInterface $dataProvider, UserService $userService )
$dataProvider Dunglas\ApiBundle\Model\DataProviderInterface
$userService PartKeepr\AuthBundle\Services\UserService

__invoke() public method

Retrieves a filtered tip of the day history list. Filters by the currently logged in user by default.
public __invoke ( Request $request ) : array | Dunglas\ApiBundle\Model\PaginatorInterface | Traversable
$request Symfony\Component\HttpFoundation\Request
return array | Dunglas\ApiBundle\Model\PaginatorInterface | Traversable