protected function createDirectoryIfNotExists($queryNumber)
    {
        if ($queryNumber == 1 && ! file_exists($directory = $this->directory())) {
            mkdir($directory, 0777, true);
        }
    }
protected function createDirectoryIfNotExists($queryNumber)
    {
        if ($queryNumber == 1 && ! file_exists($directory = $this->directory())) {
            mkdir($directory, 0777, true);
        }
    }
protected function createDirectoryIfNotExists ( $ queryNumber ) { if ( $ queryNumber == 1 && ! file_exists ( $ directory = $ this -> directory ( ) ) ) { mkdir ( $ directory , 0777 , true ) ; } }
Create directory if it does not exist yet.

@param int $queryNumber
Create directory if it does not exist yet .