Example #1
0
 /**
  * Returns the current element.
  *
  * @return \SplFileInfo
  *
  * @throws FileSystemException If called after the last element has been returned.
  */
 public function current()
 {
     try {
         return $this->iterator->current();
     } catch (\RuntimeException $e) {
         throw FileSystemException::wrap($e);
     }
 }
 function __construct()
 {
     parent::__construct('FtpConnection');
 }
 public function __construct()
 {
     parent::__construct('There is no directory handler registered');
 }
 function __construct()
 {
     parent::__construct('ModifiedDate');
 }
 function __construct($path)
 {
     parent::__construct('ItemNotFound', $path);
 }
 /**
  * @param string $file
  */
 public function __construct($file)
 {
     parent::__construct('This file is corrupted : ' . $file);
 }
 /**
  * @param string $extension
  */
 public function __construct($extension)
 {
     parent::__construct('Extension not handled : ' . $extension);
 }
 function __construct($path)
 {
     parent::__construct('ItemAlreadyExists', $path);
 }
 function __construct($path)
 {
     parent::__construct('NotAFile', $path);
 }
Example #10
0
 public function __construct($file, $exceptionExtension, $errCode, $errMsg)
 {
     parent::__construct($file, $exceptionExtension, $errCode, $errMsg, true);
 }
 function __construct($path)
 {
     parent::__construct('NotAFolder', $path);
 }
 /**
  * @param string $file
  */
 public function __construct($file)
 {
     parent::__construct('Impossible to read the file/folder : ' . $file);
 }
 function __construct($path)
 {
     parent::__construct('ReadWrite', $path);
 }
 function __construct($path)
 {
     parent::__construct('FolderNotFound', $path);
 }
 function __construct()
 {
     parent::__construct('BinaryContent');
 }
 function __construct()
 {
     parent::__construct('FtpAuthentication');
 }
Example #17
0
 function __construct()
 {
     parent::__construct('Name');
 }