TemuCategorySpecsService
in package
Table of Contents
Properties
- $container : ContainerInterface
- $entityManager : mixed
Methods
- __construct() : mixed
- getRepo() : TemuCategorySpecsRepository
- save() : mixed
- specHasCategory() : bool
- templatePidForCategory() : int|null
Properties
$container
private
ContainerInterface
$container
$entityManager
private
mixed
$entityManager
Methods
__construct()
public
__construct(EntityManagerInterface $entityManager, ContainerInterface $container) : mixed
Parameters
- $entityManager : EntityManagerInterface
- $container : ContainerInterface
getRepo()
public
getRepo() : TemuCategorySpecsRepository
Return values
TemuCategorySpecsRepositorysave()
public
save(mixed $entity) : mixed
Parameters
- $entity : mixed
specHasCategory()
public
specHasCategory(TemuCategorySpecs $spec, int $temuCategoryId) : bool
Parameters
- $spec : TemuCategorySpecs
- $temuCategoryId : int
Return values
booltemplatePidForCategory()
public
templatePidForCategory(TemuCategorySpecs $spec, int $temuCategoryId) : int|null
Parameters
- $spec : TemuCategorySpecs
- $temuCategoryId : int