PHP Class DataSift\Storyplayer\PlayerLib\Action_Logger

Show file Open project: datasift/storyplayer Class Usage Examples

Protected Properties

Property Type Description
$action
$injectables

Public Methods

Method Description
__construct ( DataSift\Storyplayer\Injectables $injectables )
closeAllOpenActions ( )
getOpenAction ( ) ------------------------------------------------------------------
startAction ( mixed $message, array | null $codeLine = null ) : Action_LogItem

Method Details

__construct() public method

public __construct ( DataSift\Storyplayer\Injectables $injectables )
$injectables DataSift\Storyplayer\Injectables

closeAllOpenActions() public method

public closeAllOpenActions ( )

getOpenAction() public method

------------------------------------------------------------------
public getOpenAction ( )

startAction() public method

public startAction ( mixed $message, array | null $codeLine = null ) : Action_LogItem
$message mixed the message to write to the log
$codeLine array | null details about the line of code we are currently executing
return Action_LogItem the object that tracks this log entry

Property Details

$action protected property

protected $action

$injectables protected property

protected $injectables