PHP 클래스 Contao\CoreBundle\Monolog\ContaoContext

파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $func, string | null $action = null, string | null $username = null, string | null $ip = null, string | null $browser = null, string | null $source = null ) Constructor.
__toString ( ) : string Returns a JSON representation of the object.
getAction ( ) : string | null Returns the action.
getBrowser ( ) : string | null Returns the browser.
getFunc ( ) : string Returns the function name.
getIp ( ) : string | null Returns the IP address.
getSource ( ) : string | null Returns the source.
getUsername ( ) : string | null Returns the username.
setAction ( string $action ) Sets the action.
setBrowser ( string $browser ) Sets the browser.
setIp ( string | null $ip ) Sets the IP address.
setSource ( string $source ) Sets the source.
setUsername ( string $username ) Sets the username.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $func, string | null $action = null, string | null $username = null, string | null $ip = null, string | null $browser = null, string | null $source = null )
$func string
$action string | null
$username string | null
$ip string | null
$browser string | null
$source string | null

__toString() 공개 메소드

Returns a JSON representation of the object.
public __toString ( ) : string
리턴 string

getAction() 공개 메소드

Returns the action.
public getAction ( ) : string | null
리턴 string | null

getBrowser() 공개 메소드

Returns the browser.
public getBrowser ( ) : string | null
리턴 string | null

getFunc() 공개 메소드

Returns the function name.
public getFunc ( ) : string
리턴 string

getIp() 공개 메소드

Returns the IP address.
public getIp ( ) : string | null
리턴 string | null

getSource() 공개 메소드

Returns the source.
public getSource ( ) : string | null
리턴 string | null

getUsername() 공개 메소드

Returns the username.
public getUsername ( ) : string | null
리턴 string | null

setAction() 공개 메소드

Sets the action.
public setAction ( string $action )
$action string

setBrowser() 공개 메소드

Sets the browser.
public setBrowser ( string $browser )
$browser string

setIp() 공개 메소드

Sets the IP address.
public setIp ( string | null $ip )
$ip string | null

setSource() 공개 메소드

Sets the source.
public setSource ( string $source )
$source string

setUsername() 공개 메소드

Sets the username.
public setUsername ( string $username )
$username string