<?php
/**
* This file is part of vfsStream.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package org\bovigo\vfs
*/
namespace org\bovigo\vfs;
/**
* Block container.
*
* @api
*/
class vfsStreamBlock extends vfsStreamFile
{
/**
* constructor
*
* @param string $name
* @param int $permissions optional
*/
public function __construct($name, $permissions = null)
{
if (empty($name)) {
throw new vfsStreamException('Name of Block device was empty');
}
parent::__construct($name, $permissions);
$this->type = vfsStreamContent::TYPE_BLOCK;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| content | Folder | 0755 |
|
|
| visitor | Folder | 0755 |
|
|
| DotDirectory.php | File | 689 B | 0644 |
|
| Quota.php | File | 1.52 KB | 0644 |
|
| vfsStream.php | File | 15.28 KB | 0644 |
|
| vfsStreamAbstractContent.php | File | 8.52 KB | 0644 |
|
| vfsStreamBlock.php | File | 729 B | 0644 |
|
| vfsStreamContainer.php | File | 1.32 KB | 0644 |
|
| vfsStreamContainerIterator.php | File | 1.91 KB | 0644 |
|
| vfsStreamContent.php | File | 4.21 KB | 0644 |
|
| vfsStreamDirectory.php | File | 5.87 KB | 0644 |
|
| vfsStreamException.php | File | 365 B | 0644 |
|
| vfsStreamFile.php | File | 9.46 KB | 0644 |
|
| vfsStreamWrapper.php | File | 28.87 KB | 0644 |
|