Property | Type | Description | |
---|---|---|---|
$data | @} | ||
$dir | @} | ||
$format | @} | ||
$log | @} | ||
$uuid | @} |
Method | Description | |
---|---|---|
__construct ( $dir = NULL, $format = self::FORMAT_JSON ) | Instantiate class | |
dir ( ) : string | Return directory | |
drop ( ) : null | Clean storage | |
jot ( $frame ) : null | Jot down log entry | |
log ( $flag = TRUE ) : string | Return profiler results (or disable logging) | |
read ( $file ) : array | Read data from memory/file | |
uuid ( ) : string | Return UUID | |
write ( $file, array $data = NULL ) : integer | Write data to memory/file |
Method | Description | |
---|---|---|
__clone ( ) | ! Prohibit cloning |
public __construct ( $dir = NULL, $format = self::FORMAT_JSON ) | ||
$dir | string | |
$format | int |