Logidav Docs

ProductPhotoService extends TransactionalService
in package

Class ProductPhotoService

Table of Contents

Properties

$em  : EntityManager
$productPhotoRepository  : mixed

Methods

add()  : mixed
add ProductPhoto
addRepository()  : void
Add a repository to this service
addService()  : void
Add a service to this service
base64ToFile()  : Base64EncodedFile
getEntityManager()  : EntityManager
Getter of the Entity Manager
getProductPhotoRepo()  : mixed
Get product photo repo
remove()  : mixed
remove ProductPhoto
save()  : ProductPhoto
Save a ProductPhoto
setEntityManager()  : mixed
Setter of the Entity Manager

Properties

Methods

add()

add ProductPhoto

public add(mixed $imageName, mixed $product) : mixed
Parameters
$imageName : mixed
$product : mixed

addRepository()

Add a repository to this service

public addRepository(int $key, string $class) : void
Parameters
$key : int

Key

$class : string

Class

addService()

Add a service to this service

public addService(int $key, mixed $service) : void
Parameters
$key : int

Key

$service : mixed

getEntityManager()

Getter of the Entity Manager

public getEntityManager() : EntityManager
Return values
EntityManager

setEntityManager()

Setter of the Entity Manager

public setEntityManager(EntityManager $em) : mixed
Parameters
$em : EntityManager

the Entity Manager


        
On this page

Search results