Beta version

class DoctrineHandler extends AbstractProcessingHandler

A log system which store message in database.

Methods

__construct(EntityManager $em, TokenStorageInterface $tokenStorage, Request $request, $level = Logger::DEBUG, $bubble = true)

No description

TokenStorageInterface
getTokenStorage()

No description

$this
setTokenStorage(TokenStorageInterface $tokenStorage)

No description

getUser()

No description

$this
setUser(User $user)

No description

Request
getRequest()

No description

$this
setRequest(Request $request)

No description

write(array $record)

No description

Details

at line 51
__construct(EntityManager $em, TokenStorageInterface $tokenStorage, Request $request, $level = Logger::DEBUG, $bubble = true)

Parameters

EntityManager $em
TokenStorageInterface $tokenStorage
Request $request
$level
$bubble

at line 68
TokenStorageInterface getTokenStorage()

Return Value

TokenStorageInterface

at line 77
$this setTokenStorage(TokenStorageInterface $tokenStorage)

Parameters

TokenStorageInterface $tokenStorage

Return Value

$this

at line 88
User getUser()

Return Value

User

at line 97
$this setUser(User $user)

Parameters

User $user

Return Value

$this

at line 107
Request getRequest()

Return Value

Request

at line 116
$this setRequest(Request $request)

Parameters

Request $request

Return Value

$this

at line 126
write(array $record)

Parameters

array $record