Kohana_Twig::__toString PHP Метод

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

Magic method, returns the output of render(). If any exceptions are thrown, the exception output will be returned instead.
public __toString ( ) : string
Результат string
    public function __toString()
    {
        try {
            return $this->render();
        } catch (Exception $e) {
            // Display the exception message
            Kohana::exception_handler($e);
            return '';
        }
    }