/** * @return int */ public function getSize() { if ($this->isNew()) { $size = 0; } else { $size = $this->file->getSize(); } return Text::bytes($size); }