render() 공개 메소드

Escapes special characters with their escaped counterparts as needed using PHPs urlencode() function.
또한 보기: http://www.php.net/manual/function.urlencode.php
public render ( string $value = null ) : mixed
$value string string to format
리턴 mixed
 /**
  * @test
  */
 public function renderRendersObjectWithToStringMethod()
 {
     $source = new Uri('http://typo3.com/foo&bar=1');
     $actualResult = $this->viewHelper->render($source);
     $this->assertEquals(urlencode('http://typo3.com/foo&bar=1'), $actualResult);
 }