PhpBench\PhpBench::getBootstrapPath PHP Méthode

getBootstrapPath() private static méthode

private static getBootstrapPath ( $configDir, $bootstrap )
    private static function getBootstrapPath($configDir, $bootstrap)
    {
        if (!$bootstrap) {
            return;
        }
        // if the path is absolute, return it unmodified
        if ('/' === substr($bootstrap, 0, 1)) {
            return $bootstrap;
        }
        return $configDir . '/' . $bootstrap;
    }