class Service (View source)

Properties

protected $entityManager

Methods

__construct(EntityManagerInterface $entityManager)

No description

getByID($id)

No description

setDefaultLocale(Locale $defaultLocale)

No description

add(Site $site, $language, $country)

No description

updatePluralSettings(LocaleInterface $l, $numPlurals = null, $pluralRule = '', $pluralCases = [])

No description

addHomePage(Locale $locale, Template $template, $name, $url_slug = null)

No description

delete(Locale $locale)

No description

Details

__construct(EntityManagerInterface $entityManager)

No description

Parameters

EntityManagerInterface $entityManager

getByID($id)

No description

Parameters

$id

setDefaultLocale(Locale $defaultLocale)

No description

Parameters

Locale $defaultLocale

add(Site $site, $language, $country)

No description

Parameters

Site $site
$language
$country

updatePluralSettings(LocaleInterface $l, $numPlurals = null, $pluralRule = '', $pluralCases = [])

No description

Parameters

LocaleInterface $l
$numPlurals
$pluralRule
$pluralCases

addHomePage(Locale $locale, Template $template, $name, $url_slug = null)

No description

Parameters

Locale $locale
Template $template
$name
$url_slug

delete(Locale $locale)

No description

Parameters

Locale $locale