PHP Class Pimcore\Model\Schedule\Maintenance\Job

Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Méthodes publiques

Свойство Type Description
$arguments array
$id string
$locked boolean
$method string
$object object

Méthodes publiques

Méthode 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 méthode

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

execute() public méthode

execute job
public execute ( ) : mixed
Résultat mixed

getArguments() public méthode

public getArguments ( ) : array
Résultat array

getId() public méthode

public getId ( ) : string
Résultat string

getLockKey() public méthode

public getLockKey ( )

getMethod() public méthode

public getMethod ( ) : string
Résultat string

getObject() public méthode

public getObject ( ) : object
Résultat object

isLocked() public méthode

public isLocked ( ) : boolean
Résultat boolean

lock() public méthode

create lock file
public lock ( ) : void
Résultat void

setArguments() public méthode

public setArguments ( array $args ) : void
$args array
Résultat void

setId() public méthode

public setId ( string $id )
$id string

setMethod() public méthode

public setMethod ( string $method ) : void
$method string
Résultat void

setObject() public méthode

public setObject ( object $object ) : void
$object object
Résultat void

unlock() public méthode

delete lock file
public unlock ( ) : void
Résultat void

Property Details

$arguments public_oe property

public array $arguments
Résultat array

$id public_oe property

public string $id
Résultat string

$locked public_oe property

public bool $locked
Résultat boolean

$method public_oe property

public string $method
Résultat string

$object public_oe property

public object $object
Résultat object