class GiftVoucherAvailableService implements GiftVoucherAvailableServiceInterface

Interface to be called for DI for GiftVoucherAvailable Main related services

Properties

private EntityManagerInterface $em Stores EntityManager
private GiftVoucherFormFactoryInterface $giftVoucherFormFactory Stores GiftVoucherFormFactoryInterface
private ServiceSlugInterface $serviceSlug Stores ServiceSlugInterface
private ServiceToolsInterface $serviceTools Stores ServiceToolsInterface

Methods

__construct(EntityManagerInterface $em, GiftVoucherFormFactoryInterface $giftVoucherFormFactory, ServiceSlugInterface $serviceSlug, ServiceToolsInterface $serviceTools)

No description

Form
createForm(string $name, GiftVoucherAvailable $giftVoucherAvailable)

Shortcut to call GiftVoucherFormFactory to create Form

cloneObject(GiftVoucherAvailable $giftVoucherAvailable)

Clones the object

delete(GiftVoucherAvailable $giftVoucherAvailable)

Deletes the GiftVoucherAvailable

array
getAll()

Gets all the GiftVoucherAvailable

register(GiftVoucherAvailable $giftVoucherAvailable)

Registers the GiftVoucherAvailable

Details

at line 49
__construct(EntityManagerInterface $em, GiftVoucherFormFactoryInterface $giftVoucherFormFactory, ServiceSlugInterface $serviceSlug, ServiceToolsInterface $serviceTools)

Parameters

EntityManagerInterface $em
GiftVoucherFormFactoryInterface $giftVoucherFormFactory
ServiceSlugInterface $serviceSlug
ServiceToolsInterface $serviceTools

at line 65
Form createForm(string $name, GiftVoucherAvailable $giftVoucherAvailable)

Shortcut to call GiftVoucherFormFactory to create Form

Parameters

string $name
GiftVoucherAvailable $giftVoucherAvailable

Return Value

Form

at line 73
GiftVoucherAvailable cloneObject(GiftVoucherAvailable $giftVoucherAvailable)

Clones the object

Parameters

GiftVoucherAvailable $giftVoucherAvailable

Return Value

GiftVoucherAvailable

at line 87
delete(GiftVoucherAvailable $giftVoucherAvailable)

Deletes the GiftVoucherAvailable

Parameters

GiftVoucherAvailable $giftVoucherAvailable

at line 103
array getAll()

Gets all the GiftVoucherAvailable

Return Value

array

at line 114
register(GiftVoucherAvailable $giftVoucherAvailable)

Registers the GiftVoucherAvailable

Parameters

GiftVoucherAvailable $giftVoucherAvailable