class EmpireWishlistsExtension extends Twig_Extension

Class EmpireWishlistsExtension is injected as empire_wishlists_plugin.twig_extension service. EmpireWishlistsExtension handles the logic and provides necessary data for managed entity in twig.

Properties

protected WishlistManager $wishlistManager

Methods

__construct(WishlistManager $wishlistManager)

No description

getFunctions()

{@inheritdoc}

mixed
getWishlists()

Get all wishlists for current user

mixed
getWishlistsForModal()

Get id and name for all wishlists of current user

string
getName()

Returns the name of the extension.

Details

at line 29
__construct(WishlistManager $wishlistManager)

Parameters

WishlistManager $wishlistManager

at line 37
getFunctions()

{@inheritdoc}

at line 49
mixed getWishlists()

Get all wishlists for current user

Return Value

mixed

at line 62
mixed getWishlistsForModal()

Get id and name for all wishlists of current user

Return Value

mixed

at line 75
string getName()

Returns the name of the extension.

Return Value

string The extension name