Arcanedev\Localization\Utilities\RouteTranslator::setCurrentRoute PHP Метод

setCurrentRoute() публичный Метод

Set the current route.
public setCurrentRoute ( false | string $currentRoute ) : self
$currentRoute false | string
Результат self
    public function setCurrentRoute($currentRoute)
    {
        if (is_string($currentRoute)) {
            $this->currentRoute = $currentRoute;
        }
        return $this;
    }