/** * Get file size in bytes * * @return int|null Number of bytes or null */ public function getSize() { if ($this->size === null && $this->storage->supportsSize()) { $this->size = $this->storage->getSize($this->key); } return $this->size; }
/** * Get file size in bytes * * @return int|null Number of bytes or null */ public function getSize() { if ($this->size === null && $this->storage->supportsSize()) { $this->size = $this->storage->getSize($this->key); } return $this->size; }