TypeFactory
class TypeFactory (View source)
Factory class for creating and retrieving instances of the Attribute type entity.
Properties
protected EntityManager | $entityManager | ||
protected Environment | $environment | ||
protected CategoryService | $categoryService |
Methods
__construct(Environment $environment, EntityManager $entityManager, CategoryService $categoryService)
Initialize the instance.
Type|null
getByHandle(string $atHandle)
Search an attribute type given its handle.
Type[]
Type[]
Details
__construct(Environment $environment, EntityManager $entityManager, CategoryService $categoryService)
Initialize the instance.
Type|null
getByHandle(string $atHandle)
Search an attribute type given its handle.
Type|null
getByID(int $atID)
Search an attribute type given its id.
Type[]
getList(string|false|null $akCategoryHandle = false)
Get the list of attribute types.
Type[]
getAttributeTypeList(mixed $akCategoryHandle = false)
deprecated
deprecated
No description
exportTranslations()
deprecated
deprecated
No description
protected
installDatabase(Type $type)
No description