File: vendor/league/flysystem/src/Directory.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  vendor/league/flysystem/src/Directory.php  >  Download  
File: vendor/league/flysystem/src/Directory.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 2 years ago
Size: 531 bytes
 

Contents

Class file image Download
<?php

namespace League\Flysystem;

class
Directory extends Handler
{
   
/**
     * Delete the directory.
     *
     * @return bool
     */
   
public function delete()
    {
        return
$this->filesystem->deleteDir($this->path);
    }

   
/**
     * List the directory contents.
     *
     * @param bool $recursive
     *
     * @return array|bool directory contents or false
     */
   
public function getContents($recursive = false)
    {
        return
$this->filesystem->listContents($this->path, $recursive);
    }
}


For more information send a message to info at phpclasses dot org.