protected function createDirectoryIfNotExists()
    {
        if (!is_dir($this->getPath())) {
            $this->files->makeDirectory($this->getPath(), 0755, true);
        }
    }
protected function createDirectoryIfNotExists()
    {
        if (!is_dir($this->getPath())) {
            $this->files->makeDirectory($this->getPath(), 0755, true);
        }
    }
protected function createDirectoryIfNotExists ( ) { if ( ! is_dir ( $ this -> getPath ( ) ) ) { $ this -> files -> makeDirectory ( $ this -> getPath ( ) , 0755 , true ) ; } }
Make directory path if not exists
Make directory path if not exists