Bravo3\Orm\KeySchemes\StandardKeyScheme::getIndexKey PHP Method

getIndexKey() public method

Get the key for an standard index
public getIndexKey ( Bravo3\Orm\Mappers\Metadata\Index $index, string $key ) : string
$index Bravo3\Orm\Mappers\Metadata\Index Index belonging to entity
$key string Index key
return string
    public function getIndexKey(Index $index, $key)
    {
        // idx:article:slug:some-slug
        return static::INDEX_NAMESPACE . $this->delimiter . $index->getTableName() . $this->delimiter . $index->getName() . $this->delimiter . $key;
    }