PHP Trait Bluz\Response\ResponseTrait

Author: Anton Shevchuk
Datei anzeigen Open project: bluzphp/framework

Public Methods

Method Description
__toString ( ) : string
jsonSerialize ( ) : string
render ( string $type = 'HTML' ) : mixed Render object as HTML or JSON

Method Details

__toString() abstract public method

abstract public __toString ( ) : string
return string

jsonSerialize() abstract public method

abstract public jsonSerialize ( ) : string
return string

render() public method

Render object as HTML or JSON
public render ( string $type = 'HTML' ) : mixed
$type string
return mixed