src/View/AbstractView.php
public function set($variable, $value = null)
    {
        $this->variables[$variable] = array(
            'safe' => $this->htmlEncode($value),
            'unsafe' => $value
        );

        return $this;
    }
public function set($variable, $value = null)
    {
        $this->variables[$variable] = array(
            'safe' => $this->htmlEncode($value),
            'unsafe' => $value
        );

        return $this;
    }
public function set ( $ variable , $ value = null ) { $ this -> variables [ $ variable ] = array ( 'safe' => $ this -> htmlEncode ( $ value ) , 'unsafe' => $ value ) ; return $ this ; }
Set a view variable

@param string $variable
@param mixed $value
@return \JiNexus\Mvc\View\ViewInterface
Set a view variable