public function setMemoryAnalyserLoggingSizeUnit($sizeUnit)
    {
        switch (strtoupper(trim($sizeUnit))) {
            case 'GB':
            case 'GIGABYTE':
            case 'GIGABYTES':
                $this->memoryAnalyserLoggingSizeUnit = 'GB';
                break;
            case 'MB':
            case 'MEGABYTE':
            case 'MEGABYTES':
                $this->memoryAnalyserLoggingSizeUnit = 'MB';
                break;
            case 'KB':
            case 'KILOBYTE':
            case 'KILOBYTES':
                $this->memoryAnalyserLoggingSizeUnit = 'KB';
                break;
            default:
                $this->memoryAnalyserLoggingSizeUnit = 'BYTES';
                break;
        }
    }
public function setMemoryAnalyserLoggingSizeUnit($sizeUnit)
    {
        switch (strtoupper(trim($sizeUnit))) {
            case 'GB':
            case 'GIGABYTE':
            case 'GIGABYTES':
                $this->memoryAnalyserLoggingSizeUnit = 'GB';
                break;
            case 'MB':
            case 'MEGABYTE':
            case 'MEGABYTES':
                $this->memoryAnalyserLoggingSizeUnit = 'MB';
                break;
            case 'KB':
            case 'KILOBYTE':
            case 'KILOBYTES':
                $this->memoryAnalyserLoggingSizeUnit = 'KB';
                break;
            default:
                $this->memoryAnalyserLoggingSizeUnit = 'BYTES';
                break;
        }
    }
public function setMemoryAnalyserLoggingSizeUnit ( $ sizeUnit ) { switch ( strtoupper ( trim ( $ sizeUnit ) ) ) { case 'GB' : case 'GIGABYTE' : case 'GIGABYTES' : $ this -> memoryAnalyserLoggingSizeUnit = 'GB' ; break ; case 'MB' : case 'MEGABYTE' : case 'MEGABYTES' : $ this -> memoryAnalyserLoggingSizeUnit = 'MB' ; break ; case 'KB' : case 'KILOBYTE' : case 'KILOBYTES' : $ this -> memoryAnalyserLoggingSizeUnit = 'KB' ; break ; default : $ this -> memoryAnalyserLoggingSizeUnit = 'BYTES' ; break ; } }
Sets the unit in which the memory usage logger outputs its values in

@param string $sizeUnit ('MB', 'BYTES', 'GB', 'KB', ...)
Sets the unit in which the memory usage logger outputs its values in