public function getSize()
    {
        return (true === isset($this->getFile()['size'])) ? $this->getFile()['size'] : filesize($this->getLocation());
    }
public function getSize()
    {
        return (true === isset($this->getFile()['size'])) ? $this->getFile()['size'] : filesize($this->getLocation());
    }
public function getSize ( ) { return ( true === isset ( $ this -> getFile ( ) [ 'size' ] ) ) ? $ this -> getFile ( ) [ 'size' ] : filesize ( $ this -> getLocation ( ) ) ; }
Retrieve the file size.

Implementations SHOULD return the value stored in the "size" key of
the file in the $_FILES array if available, as PHP calculates this based
on the actual size transmitted.

@return int|null The file size in bytes or null if unknown.
Retrieve the file size .