Redaxscript\Template\Tag::title PHP Method

title() public static method

title
Since: 3.0.0
public static title ( ) : string
return string
    public static function title()
    {
        $title = new Head\Title(Registry::getInstance());
        return $title->render();
    }

Usage Example

Example #1
0
 /**
  * testTitle
  *
  * @since 3.0.0
  */
 public function testTitle()
 {
     /* actual */
     $actual = Template\Tag::title();
     /* compare */
     $this->assertString($actual);
 }