GiftVoucherAvailableService
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
array
getAll()
Gets all the GiftVoucherAvailable
Details
at line 49
__construct(EntityManagerInterface $em, GiftVoucherFormFactoryInterface $giftVoucherFormFactory, ServiceSlugInterface $serviceSlug, ServiceToolsInterface $serviceTools)
at line 65
Form
createForm(string $name, GiftVoucherAvailable $giftVoucherAvailable)
Shortcut to call GiftVoucherFormFactory to create Form
at line 73
GiftVoucherAvailable
cloneObject(GiftVoucherAvailable $giftVoucherAvailable)
Clones the object
at line 87
delete(GiftVoucherAvailable $giftVoucherAvailable)
Deletes the GiftVoucherAvailable
at line 103
array
getAll()
Gets all the GiftVoucherAvailable
at line 114
register(GiftVoucherAvailable $giftVoucherAvailable)
Registers the GiftVoucherAvailable