private function createInclusionPath($name, $module = null)
    {
        if (is_null($module)) {
            $module = $this->module;
        }

        $base = $this->createPath(self::TEMPLATE_PARAM_BASE_DIR, dirname($this->moduleDir), $module, $this->theme);
        $path = sprintf('%s.%s', $base . \DIRECTORY_SEPARATOR . $name, self::TEMPLATE_PARAM_EXTENSION);

        return $path;
    }
private function createInclusionPath($name, $module = null)
    {
        if (is_null($module)) {
            $module = $this->module;
        }

        $base = $this->createPath(self::TEMPLATE_PARAM_BASE_DIR, dirname($this->moduleDir), $module, $this->theme);
        $path = sprintf('%s.%s', $base . \DIRECTORY_SEPARATOR . $name, self::TEMPLATE_PARAM_EXTENSION);

        return $path;
    }
private function createInclusionPath ( $ name , $ module = null ) { if ( is_null ( $ module ) ) { $ module = $ this -> module ; } $ base = $ this -> createPath ( self :: TEMPLATE_PARAM_BASE_DIR , dirname ( $ this -> moduleDir ) , $ module , $ this -> theme ) ; $ path = sprintf ( '%s.%s' , $ base . \ DIRECTORY_SEPARATOR . $ name , self :: TEMPLATE_PARAM_EXTENSION ) ; return $ path ; }
Returns full path to a file by its name

@param string $name File's basename
@param string $module Module name
@return string
Returns full path to a file by its name