src/CoreManager.php
private function ensureRootDirExists(Options $options)
    {
        if (!file_exists($options->getMagentoRootDir())) {
            mkdir($options->getMagentoRootDir(), 0755, true);
        }
    }
private function ensureRootDirExists(Options $options)
    {
        if (!file_exists($options->getMagentoRootDir())) {
            mkdir($options->getMagentoRootDir(), 0755, true);
        }
    }
private function ensureRootDirExists ( Options $ options ) { if ( ! file_exists ( $ options -> getMagentoRootDir ( ) ) ) { mkdir ( $ options -> getMagentoRootDir ( ) , 0755 , true ) ; } }
Create root directory if it doesn't exist already

@param Options $options
Create root directory if it doesn t exist already