src/DirectoryMaker.php
/**
     * Create directory is it does not exist.
     *
     * @param string $directory
     */
Create directory is it does not exist.
@param string $directory
Create directory is it does not exist . @param string $directory
public function findOrMake(string $directory): void
    {
         if (! file_exists($directory)) {
            mkdir($directory, 0777, true);
         }
    }
public function findOrMake ( string $ directory ) : void { if ( ! file_exists ( $ directory ) ) { mkdir ( $ directory , 0777 , true ) ; } }
Create directory is it does not exist.
Create directory is it does not exist .