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;
    }