PHP Interface Prado\IService

This interface must be implemented by services.
Since: 3.0
Author: Qiang Xue ([email protected])
ファイルを表示 Open project: pradosoft/prado

Public Methods

Method Description
getEnabled ( ) : boolean
getID ( ) : string
init ( $config ) Initializes the service.
run ( ) Runs the service.
setEnabled ( $value )
setID ( $id )

Method Details

getEnabled() public method

public getEnabled ( ) : boolean
return boolean whether the service is enabled

getID() public method

public getID ( ) : string
return string ID of the service

init() public method

Initializes the service.
public init ( $config )

run() public method

Runs the service.
public run ( )

setEnabled() public method

public setEnabled ( $value )

setID() public method

public setID ( $id )