src/MFileInfo.php
public function getSize(): int
    {
        if ($this->caching == false) {
            return filesize($this->getAbsoluteFilePath());
        }

        if ($this->size == null) {
            $this->size = filesize($this->getAbsoluteFilePath());
        }

        return $this->size;
    }
public function getSize(): int
    {
        if ($this->caching == false) {
            return filesize($this->getAbsoluteFilePath());
        }

        if ($this->size == null) {
            $this->size = filesize($this->getAbsoluteFilePath());
        }

        return $this->size;
    }
public function getSize ( ) : int { if ( $ this -> caching == false ) { return filesize ( $ this -> getAbsoluteFilePath ( ) ) ; } if ( $ this -> size == null ) { $ this -> size = filesize ( $ this -> getAbsoluteFilePath ( ) ) ; } return $ this -> size ; }
Returns the file size in bytes. If the file does not exist or cannot be
fetched, 0 is returned.

@return int
Returns the file size in bytes . If the file does not exist or cannot be fetched 0 is returned .