You are here

public function Asset::getSize in Mini site 8

Get asset size.

Return value

int Asset file size in bytes.

Overrides AssetInterface::getSize

2 calls to Asset::getSize()
Asset::getHeaders in src/Asset.php
Array of headers for current asset.
Asset::save in src/Asset.php
Save asset to the database.

File

src/Asset.php, line 433

Class

Asset
Class Asset.

Namespace

Drupal\minisite

Code

public function getSize() {
  return $this->size;
}