1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 16:46:11 +02:00
This commit is contained in:
Jordi Boggiano
2014-04-23 09:20:48 +02:00
parent 0d72125865
commit 0b654cec86
8 changed files with 19 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ abstract class MemoryProcessor
protected $useFormatting;
/**
* @param boolean $realUsage Set this to true to get the real size of memory allocated from system.
* @param boolean $realUsage Set this to true to get the real size of memory allocated from system.
* @param boolean $useFormatting If true, then format memory size to human readable string (MB, KB, B depending on size)
*/
public function __construct($realUsage = true, $useFormatting = true)
@@ -41,7 +41,7 @@ abstract class MemoryProcessor
/**
* Formats bytes into a human readable string if $this->useFormatting is true, otherwise return $bytes as is
*
* @param int $bytes
* @param int $bytes
* @return string|int Formatted string if $this->useFormatting is true, otherwise return $bytes as is
*/
protected function formatBytes($bytes)