function fpmConfigPath()
    {
        $version = $this->brew->linkedPhp();

        $versionNormalized = preg_replace(
            '/php@?(\d)\.?(\d)/',
            '$1.$2',
            $version === 'php' ? Brew::LATEST_PHP_VERSION : $version
        );

        return $versionNormalized === '5.6'
            ? '/usr/local/etc/php/5.6/php-fpm.conf'
            : "/usr/local/etc/php/${versionNormalized}/php-fpm.d/www.conf";
    }
function fpmConfigPath()
    {
        $version = $this->brew->linkedPhp();

        $versionNormalized = preg_replace(
            '/php@?(\d)\.?(\d)/',
            '$1.$2',
            $version === 'php' ? Brew::LATEST_PHP_VERSION : $version
        );

        return $versionNormalized === '5.6'
            ? '/usr/local/etc/php/5.6/php-fpm.conf'
            : "/usr/local/etc/php/${versionNormalized}/php-fpm.d/www.conf";
    }
function fpmConfigPath ( ) { $ version = $ this -> brew -> linkedPhp ( ) ; $ versionNormalized = preg_replace ( '/php@?(\d)\.?(\d)/' , '$1.$2' , $ version === 'php' ? Brew :: LATEST_PHP_VERSION : $ version ) ; return $ versionNormalized === '5.6' ? '/usr/local/etc/php/5.6/php-fpm.conf' : "/usr/local/etc/php/${versionNormalized}/php-fpm.d/www.conf" ; }
Get the path to the FPM configuration file for the current PHP version.

@return string
Get the path to the FPM configuration file for the current PHP version .