Bluz\Controller\Controller::assign PHP Method

assign() public method

Assign key/value pair to Data object
public assign ( string $key, mixed $value ) : Controller
$key string
$value mixed
return Controller
    public function assign($key, $value)
    {
        $this->getData()->set($key, $value);
        return $this;
    }