JobCategory
extends Form
in package
implements
InputFilterProviderInterface
Tags
Table of Contents
Interfaces
- InputFilterProviderInterface
Properties
- $currentSlug : string|null
- $currentSlugEn : string|null
- $mapper : Category
- $translator : Translator
Methods
- __construct() : mixed
- getInputFilterSpecification() : array<string|int, mixed>
- isSlugUnique() : bool
- Determine if the given slug is unique (in Dutch and English).
- setCurrentSlug() : void
Properties
$currentSlug
private
string|null
$currentSlug
= null
$currentSlugEn
private
string|null
$currentSlugEn
= null
$mapper read-only
private
Category
$mapper
$translator read-only
private
Translator
$translator
Methods
__construct()
public
__construct(Translator $translator, Category $mapper) : mixed
Parameters
- $translator : Translator
- $mapper : Category
getInputFilterSpecification()
public
getInputFilterSpecification() : array<string|int, mixed>
Return values
array<string|int, mixed>isSlugUnique()
Determine if the given slug is unique (in Dutch and English).
public
isSlugUnique(string $value, array<string|int, mixed> $context, string $languageSuffix) : bool
Parameters
- $value : string
- $context : array<string|int, mixed>
- $languageSuffix : string
Tags
Return values
boolsetCurrentSlug()
public
setCurrentSlug(CompanyLocalisedText $currentSlug) : void
Parameters
- $currentSlug : CompanyLocalisedText