File::delete PHP 메소드

delete() 공개 정적인 메소드

Delete the file at a given path.
public static delete ( string | array $paths ) : boolean
$paths string | array
리턴 boolean
        public static function delete($paths)
        {
            return \Illuminate\Filesystem\Filesystem::delete($paths);
        }

Usage Example

예제 #1
0
파일: Hybrid.php 프로젝트: edrdesigner/awf
 /**
  * Delete a file (remove it from the disk)
  *
  * @param   string  $fileName  The full path to the file
  *
  * @return  boolean  True on success
  */
 public function delete($fileName)
 {
     $ret = $this->fileAdapter->delete($fileName);
     if (!$ret && is_object($this->abstractionAdapter)) {
         return $this->abstractionAdapter->delete($fileName);
     }
     return $ret;
 }
All Usage Examples Of File::delete