Property | Type | Description | |
---|---|---|---|
$entityTranslator | Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface | Entity Translator | |
$router | Symfony\Component\Routing\Generator\UrlGeneratorInterface | Url generator |
Method | Description | |
---|---|---|
__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 |
return | string | Last mod value |
protected EntityTranslatorInterface,Elcodi\Component\EntityTranslator\Services\Interfaces $entityTranslator | ||
return | Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface |