Version 5.1 - All the GraphQL #32
@ -50,7 +50,7 @@ abstract class View {
|
|||||||
*
|
*
|
||||||
* @var boolean
|
* @var boolean
|
||||||
*/
|
*/
|
||||||
protected $hasRendered = false;
|
protected $hasRendered = FALSE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
@ -81,7 +81,7 @@ abstract class View {
|
|||||||
*/
|
*/
|
||||||
public function __toString()
|
public function __toString()
|
||||||
{
|
{
|
||||||
$this->hasRendered = true;
|
$this->hasRendered = TRUE;
|
||||||
return $this->getOutput();
|
return $this->getOutput();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ abstract class View {
|
|||||||
*/
|
*/
|
||||||
public function send()
|
public function send()
|
||||||
{
|
{
|
||||||
$this->hasRendered = true;
|
$this->hasRendered = TRUE;
|
||||||
$this->output();
|
$this->output();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user