You are here

public function vfsStreamDirectory::size in Zircon Profile 8

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

returns size of directory

The size of a directory is always 0 bytes. To calculate the summarized size of all children in the directory use sizeSummarized().

Return value

int

Overrides vfsStreamContent::size

File

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

Class

vfsStreamDirectory
Directory container.

Namespace

org\bovigo\vfs

Code

public function size() {
  return 0;
}