Phalcon\Translate\Adapter\Redis::getShortKey PHP Метод

getShortKey() защищенный Метод

Returns short key for index.
protected getShortKey ( string $index ) : string
$index string
Результат string
    protected function getShortKey($index)
    {
        return substr($index, 0, $this->levels);
    }