File::isWritable PHP Method

isWritable() public static method

Determine if the given path is writable.
public static isWritable ( string $path ) : boolean
$path string
return boolean
        public static function isWritable($path)
        {
            return \Illuminate\Filesystem\Filesystem::isWritable($path);
        }

Usage Example

Example #1
0
 /**
  * Tests File::isWritable
  */
 public function testIsWritable()
 {
     $spl = $this->getDeletableFileInfo();
     $file = new File($spl);
     $writable = $file->isWritable();
     unlink($spl->getPathname());
     $this->assertEquals(true, $writable);
 }
All Usage Examples Of File::isWritable