public function vfsStreamDirectoryTestCase::permissions in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php \org\bovigo\vfs\vfsStreamDirectoryTestCase::permissions()
setting and retrieving permissions for a directory
@test @group permissions
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamDirectoryTestCase.php, line 284
Class
Namespace
org\bovigo\vfsCode
public function permissions() {
$this
->assertEquals(0777, $this->dir
->getPermissions());
$this
->assertSame($this->dir, $this->dir
->chmod(0755));
$this
->assertEquals(0755, $this->dir
->getPermissions());
}