Basecoat\View::__get PHP Method

__get() public method

Getter method for returning a data item
public __get ( String $name ) : Mixed
$name String Name of the data item to return
return Mixed value of the data item
    public function __get($name)
    {
        if (!isset($this->data[$name])) {
            $this->data[$name] = null;
        }
        return $this->data[$name];
    }