PHP Class MathiasGrimm\LaravelLogKeeper\Repos\FakeLogsRepo

Inheritance: implements MathiasGrimm\LaravelLogKeeper\Repos\LogsRepoInterface
Show file Open project: mathiasgrimm/laravel-log-keeper Class Usage Examples

Protected Properties

Property Type Description
$config
$logs

Public Methods

Method Description
__construct ( array $config )
compress ( $log, $compressedName )
delete ( $log )
get ( $log )
getCompressed ( )
getLogs ( )
put ( $log, $content )
setLogs ( array $logs )

Method Details

__construct() public method

public __construct ( array $config )
$config array

compress() public method

public compress ( $log, $compressedName )

delete() public method

public delete ( $log )

get() public method

public get ( $log )

getCompressed() public method

public getCompressed ( )

getLogs() public method

public getLogs ( )

put() public method

public put ( $log, $content )

setLogs() public method

public setLogs ( array $logs )
$logs array

Property Details

$config protected property

protected $config

$logs protected property

protected $logs