You are here

public static function vfsStream::setQuota in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php \org\bovigo\vfs\vfsStream::setQuota()

sets quota to given amount of bytes

@since 1.1.0

Parameters

int $bytes:

1 call to vfsStream::setQuota()
vfsStreamWrapperQuotaTestCase::setUp in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperQuotaTestCase.php
set up test environment

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStream.php, line 427

Class

vfsStream
Some utility methods for vfsStream.

Namespace

org\bovigo\vfs

Code

public static function setQuota($bytes) {
  vfsStreamWrapper::setQuota(new Quota($bytes));
}