Neos\FluidAdaptor\ViewHelpers\Uri\EmailViewHelper::render PHP Метод

render() публичный Метод

public render ( string $email ) : string
$email string The email address to be turned into a mailto uri.
Результат string Rendered email uri
    public function render($email)
    {
        return 'mailto:' . $email;
    }

Usage Example

 /**
  * @test
  */
 public function renderPrependsEmailWithMailto()
 {
     $this->viewHelper->initialize();
     $actualResult = $this->viewHelper->render('*****@*****.**');
     $this->assertEquals('mailto:[email protected]', $actualResult);
 }
EmailViewHelper