private function getPathForView()
    {
        $methodName = lcfirst($this->method);
        $className = lcfirst($this->class);

        $package = $this->app->getPackage($this->package);
        $pathPieces = array($package['package_path'], 'res', 'view', $className, $methodName);
        $path = implode(self::DS, $pathPieces) . '.phtml';
        if (file_exists($path)) {
            return $path;
        }
        $e = new ViewFileNotFoundException('Invalid view file path, expected: "' . $path . '"');
        $e->setAdditionalData('View Path Checked: ', $path);
        throw $e;
    }