for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\Streams\Platform\View;
use Illuminate\Support\Collection;
/**
* Class ViewTemplate
*
* @link http://anomaly.is/streams-platform
* @author AnomalyLabs, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
* @package Anomaly\Streams\Platform\View
*/
class ViewTemplate extends Collection
{
* The loaded flag.
* @var bool
protected $loaded = false;
* Set a value.
* @param $key
* @param $value
* @return $this
public function set($key, $value)
$this->put($key, $value);
return $this;
}
* Get the loaded flag.
* @return bool
public function isLoaded()
return $this->loaded;
* Set the loaded flag.
* @param $loaded
public function setLoaded($loaded)
$this->loaded = $loaded;
* Override the string output.
* @return string
public function __toString()
return '';