Service/TranslationFinder.php

Classes 
Classes
TranslationFinder

Bazinga\ExposeTranslationBundle\Service\TranslationFinder

author
William DURAND <william.durand1@gmail.com>
package
ExposeTranslationBundle
subpackage
Service
Properties
$kernel
Methods
__construct
getResources

Description

TranslationFinder class.

Properties

$kernel

\Symfony\Component\HttpKernel\KernelInterface $kernel = ''

Details

$kernel
\Symfony\Component\HttpKernel\KernelInterface
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( \Symfony\Component\HttpKernel\KernelInterface $kernel ) :

Default constructor.

Arguments
$kernel
\Symfony\Component\HttpKernel\KernelInterface
The kernel.
Details
visibility
public
final
false
static
false

getResources

getResources( string $domainName, string $locale ) : array

Returns an array of translation files for a given domain and a given locale.

Arguments
$domainName
string
A domain translation name.
$locale
string
A locale.
Output
array
An array of translation files.
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox 0.10.0.