/** * Normalize a parameter name * * @param string $key * @return string */ public function normalizeKey($key) { return TemplateParameterName::normalize($key); }
/** * @testdox "Foo" is normalized to "Foo" */ public function testValidB43E23C1() { $this->assertTrue(TemplateParameterName::isValid("Foo")); $this->assertSame("Foo", TemplateParameterName::normalize("Foo")); }