private static function checkKey($name, &$value)
    {
        self::checkIsString($name, $value);

        $value = trim($value);

        self::checkIsNotEmpty($name, $value);
    }
private static function checkKey($name, &$value)
    {
        self::checkIsString($name, $value);

        $value = trim($value);

        self::checkIsNotEmpty($name, $value);
    }
private static function checkKey ( $ name , & $ value ) { self :: checkIsString ( $ name , $ value ) ; $ value = trim ( $ value ) ; self :: checkIsNotEmpty ( $ name , $ value ) ; }
Check key.

@param  string  $name
@param  string  $value
Check key .