public function render()
    {
        // Check if there is a valid view
        if (empty($this->view)) {
            throw new InvalidArgumentException(__METHOD__ . ': The view file given is a not valid view.');
        }

        // Load the view file
        $this->output = $this->executable ? include $this->view : file_get_contents($this->view);

        // Interpolate parameters on the view
        $this->output = StringHelper::interpolate($this->output, $this->parameters);

        return $this;
    }