Свойство | Тип | Описание | |
---|---|---|---|
$entityTranslator | Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface | Entity Translator | |
$router | Symfony\Component\Routing\Generator\UrlGeneratorInterface | Url generator |
Метод | Описание | |
---|---|---|
__construct ( Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface $entityTranslator, Symfony\Component\Routing\Generator\UrlGeneratorInterface $router ) | Construct | |
getLastMod ( Mixed $element, string $language = null ) : string | Get last mod | |
getLoc ( Mixed $element, string $language = null ) : string | Get url given an entity |
public __construct ( Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface $entityTranslator, Symfony\Component\Routing\Generator\UrlGeneratorInterface $router ) | ||
$entityTranslator | Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface | Entity Translator |
$router | Symfony\Component\Routing\Generator\UrlGeneratorInterface | Router |
public getLastMod ( Mixed $element, string $language = null ) : string | ||
$element | Mixed | Element |
$language | string | Language |
Результат | string | Last mod value |
protected EntityTranslatorInterface,Elcodi\Component\EntityTranslator\Services\Interfaces $entityTranslator | ||
Результат | Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface |