__construct() public method

constructor
public __construct ( string $name, integer $permissions = null )
$name string
$permissions integer optional
コード例 #1
0
ファイル: vfsStreamFile.php プロジェクト: papillon-cendre/d8
 /**
  * constructor
  *
  * @param  string  $name
  * @param  int     $permissions  optional
  */
 public function __construct($name, $permissions = null)
 {
     $this->content = new StringBasedFileContent(null);
     $this->type = vfsStreamContent::TYPE_FILE;
     parent::__construct($name, $permissions);
 }