src/Neutrino/Dotconst/Extensions/PhpDir.php
public function compile($value, $basePath, $compilePath)
    {
        $match = $this->match($value);

        return "__DIR__ . '" . addslashes('/' . Path::findRelative($compilePath, $basePath) . '/' . (isset($match[1]) ? $match[1] : '')) . "'";
    }
public function compile($value, $basePath, $compilePath)
    {
        $match = $this->match($value);

        return "__DIR__ . '" . addslashes('/' . Path::findRelative($compilePath, $basePath) . '/' . (isset($match[1]) ? $match[1] : '')) . "'";
    }
@param string $value
@param string $basePath
@param string $compilePath

@return string