public function getSize($raw = false)
	{
		if (!isset($this->size))
		{
			$this->size = $this->hasAdapterOrFail()->adapter->getSize($this->getPath());
		}

		return ($raw) ? $this->size : \Hubzero\Utility\Number::formatBytes($this->size);
	}
public function getSize($raw = false)
	{
		if (!isset($this->size))
		{
			$this->size = $this->hasAdapterOrFail()->adapter->getSize($this->getPath());
		}

		return ($raw) ? $this->size : \Hubzero\Utility\Number::formatBytes($this->size);
	}
public function getSize ( $ raw = false ) { if ( ! isset ( $ this -> size ) ) { $ this -> size = $ this -> hasAdapterOrFail ( ) -> adapter -> getSize ( $ this -> getPath ( ) ) ; } return ( $ raw ) ? $ this -> size : \ Hubzero \ Utility \ Number :: formatBytes ( $ this -> size ) ; }
Grabs the item size

@param   bool    $raw  Whether or not to return raw size (vs formatted size)
@return  string|int
Grabs the item size