public function get($variable)
    {
        if (false === array_key_exists($variable, $this->variables)) {
            throw new View\Exception(sprintf('Unassigned variable "%s"', $variable));
        }

        return $this->variables[$variable];
    }
public function get($variable)
    {
        if (false === array_key_exists($variable, $this->variables)) {
            throw new View\Exception(sprintf('Unassigned variable "%s"', $variable));
        }

        return $this->variables[$variable];
    }
public function get ( $ variable ) { if ( false === array_key_exists ( $ variable , $ this -> variables ) ) { throw new View \ Exception ( sprintf ( 'Unassigned variable "%s"' , $ variable ) ) ; } return $ this -> variables [ $ variable ] ; }
Get value from template assignments

@throws \Janeiro\Mvc\Exception
@param string $variable
@return mixed
Get value from template assignments