private function getDefinitionsFilePath(array $config)
    {
        $filePath = __DIR__ . '/../../../../../../../config/php-di.config.php';

        if (isset($config['definitionsFile'])) {
            $filePath = $config['definitionsFile'];
        }

        if (!file_exists($filePath)) {
            throw new \Exception('DI definitions file missing.');
        }

        return $filePath;
    }
private function getDefinitionsFilePath(array $config)
    {
        $filePath = __DIR__ . '/../../../../../../../config/php-di.config.php';

        if (isset($config['definitionsFile'])) {
            $filePath = $config['definitionsFile'];
        }

        if (!file_exists($filePath)) {
            throw new \Exception('DI definitions file missing.');
        }

        return $filePath;
    }
private function getDefinitionsFilePath ( array $ config ) { $ filePath = __DIR__ . '/../../../../../../../config/php-di.config.php' ; if ( isset ( $ config [ 'definitionsFile' ] ) ) { $ filePath = $ config [ 'definitionsFile' ] ; } if ( ! file_exists ( $ filePath ) ) { throw new \ Exception ( 'DI definitions file missing.' ) ; } return $ filePath ; }
return definitions file path

@param array $config

@return string
@throws
return definitions file path