org\bovigo\vfs\visitor\vfsStreamPrintVisitor::__construct PHP Метод

__construct() публичный Метод

If no file pointer given it will fall back to STDOUT.
public __construct ( resource $out = STDOUT )
$out resource optional
    public function __construct($out = STDOUT)
    {
        if (is_resource($out) === false || get_resource_type($out) !== 'stream') {
            throw new \InvalidArgumentException('Given filepointer is not a resource of type stream');
        }
        $this->out = $out;
    }