PHP Class Pimcore\Model\Schedule\Maintenance\Job

Exibir arquivo Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$arguments array
$id string
$locked boolean
$method string
$object object

Public Methods

Method Description
__construct ( $id, $object, $method, $arguments = null )
execute ( ) : mixed execute job
getArguments ( ) : array
getId ( ) : string
getLockKey ( )
getMethod ( ) : string
getObject ( ) : object
isLocked ( ) : boolean
lock ( ) : void create lock file
setArguments ( array $args ) : void
setId ( string $id )
setMethod ( string $method ) : void
setObject ( object $object ) : void
unlock ( ) : void delete lock file

Method Details

__construct() public method

public __construct ( $id, $object, $method, $arguments = null )

execute() public method

execute job
public execute ( ) : mixed
return mixed

getArguments() public method

public getArguments ( ) : array
return array

getId() public method

public getId ( ) : string
return string

getLockKey() public method

public getLockKey ( )

getMethod() public method

public getMethod ( ) : string
return string

getObject() public method

public getObject ( ) : object
return object

isLocked() public method

public isLocked ( ) : boolean
return boolean

lock() public method

create lock file
public lock ( ) : void
return void

setArguments() public method

public setArguments ( array $args ) : void
$args array
return void

setId() public method

public setId ( string $id )
$id string

setMethod() public method

public setMethod ( string $method ) : void
$method string
return void

setObject() public method

public setObject ( object $object ) : void
$object object
return void

unlock() public method

delete lock file
public unlock ( ) : void
return void

Property Details

$arguments public_oe property

public array $arguments
return array

$id public_oe property

public string $id
return string

$locked public_oe property

public bool $locked
return boolean

$method public_oe property

public string $method
return string

$object public_oe property

public object $object
return object