Eccube\Application\ApplicationTrait::setLoginTargetPath PHP Метод

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

public setLoginTargetPath ( $targetPath, $namespace = null )
    public function setLoginTargetPath($targetPath, $namespace = null)
    {
        if (is_null($namespace)) {
            $this['session']->getFlashBag()->set('eccube.login.target.path', $targetPath);
        } else {
            $this['session']->getFlashBag()->set('eccube.' . $namespace . '.login.target.path', $targetPath);
        }
    }