src/PsrCache/Item.php
/**
     * Returns a normalised key.
     *
     * @return string
     */
Returns a normalised key.
@return string
Returns a normalised key . @return string
public static function normalizedKey($key)
    {
        if (!is_string($key) || empty($key) || strpbrk($key, '{}()/\@:') ) {
            throw new InvalidArgumentException(
                'Item key (' . var_export($key, true) . ') is invalid.'
            );
        }
        return $key;
    }
public static function normalizedKey ( $ key ) { if ( ! is_string ( $ key ) || empty ( $ key ) || strpbrk ( $ key , '{}()/\@:' ) ) { throw new InvalidArgumentException ( 'Item key (' . var_export ( $ key , true ) . ') is invalid.' ) ; } return $ key ; }
Returns a normalised key.
Returns a normalised key .