Smile\ElasticsuiteCore\Search\Request\ContainerConfiguration\RelevanceConfig\Factory::getScopeCode PHP 메소드

getScopeCode() 개인적인 메소드

Retrieve current scope code
private getScopeCode ( integer $storeId, string | null $containerName ) : string
$storeId integer The store identifier or id.
$containerName string | null The container name.
리턴 string
    private function getScopeCode($storeId, $containerName)
    {
        return sprintf("%s|%s", $containerName, $storeId);
    }