/** * Method to test JStringNormalise::toKey(). * * @param string $expected The expected value from the method. * @param string $input The input value for the method. * * @return void * * @dataProvider seedToKey * @since 11.3 */ public function testToKey($expected, $input) { $this->assertEquals($expected, JStringNormalise::toKey($input)); }
/** * Helper wrapper method for toKey * * @param string $input The string input (ASCII only). * * @return string The key string. * * @see JUserHelper::toKey() * @since 3.4 */ public function toKey($input) { return JStringNormalise::toKey($input); }