src/Predef/CreateDirectoriesCompiler.php
protected function makeDir($dirName, LoggerInterface $logger) {
        $dn = explode(getcwd(), $dirName)[1] ?? $dirName;

        if(@mkdir($dirName)) {
            $logger->logText("Created directory <fg=green>%s</>", LoggerInterface::VERBOSITY_NORMAL, NULL, $dn);
        } else {
            $logger->logWarning("Creating directory $dn failed");
        }
    }
protected function makeDir($dirName, LoggerInterface $logger) {
        $dn = explode(getcwd(), $dirName)[1] ?? $dirName;

        if(@mkdir($dirName)) {
            $logger->logText("Created directory <fg=green>%s</>", LoggerInterface::VERBOSITY_NORMAL, NULL, $dn);
        } else {
            $logger->logWarning("Creating directory $dn failed");
        }
    }
protected function makeDir ( $ dirName , LoggerInterface $ logger ) { $ dn = explode ( getcwd ( ) , $ dirName ) [ 1 ] ?? $ dirName ; if ( @ mkdir ( $ dirName ) ) { $ logger -> logText ( "Created directory <fg=green>%s</>" , LoggerInterface :: VERBOSITY_NORMAL , NULL , $ dn ) ; } else { $ logger -> logWarning ( "Creating directory $dn failed" ) ; } }
Makes the required directory. It does NOT exist!

@param $dirName
@param LoggerInterface $logger
Makes the required directory . It does NOT exist!