PHP Class Prose\ExpectsHost

Inheritance: extends HostBase
Show file Open project: datasift/storyplayer

Public Methods

Method Description
hasFileWithPermissions ( $filename, $owner, $group, $mode )
hasFolderWithPermissions ( $folder, $owner, $group, $mode )
hostIsNotRunning ( )
hostIsRunning ( )
isNotRunningInScreen ( string $sessionName ) : void the old SPv1 call, when this was part of expectsShell()
isRunningInScreen ( string $sessionName ) : void the old SPv1 call, when this was part of expectsShell()
packageIsInstalled ( $packageName )
packageIsNotInstalled ( $packageName )
processIsNotRunning ( $processName )
processIsRunning ( $processName )
screenIsNotRunning ( $sessionName )
screenIsRunning ( $sessionName )

Method Details

hasFileWithPermissions() public method

public hasFileWithPermissions ( $filename, $owner, $group, $mode )

hasFolderWithPermissions() public method

public hasFolderWithPermissions ( $folder, $owner, $group, $mode )

hostIsNotRunning() public method

public hostIsNotRunning ( )

hostIsRunning() public method

public hostIsRunning ( )

isNotRunningInScreen() public method

the old SPv1 call, when this was part of expectsShell()
Deprecation: use $this->screenIsNotRunning() instead
public isNotRunningInScreen ( string $sessionName ) : void
$sessionName string name of the screen session to check on
return void

isRunningInScreen() public method

the old SPv1 call, when this was part of expectsShell()
Deprecation: use $this->screenIsRunning() instead
public isRunningInScreen ( string $sessionName ) : void
$sessionName string name of the screen session to check on
return void

packageIsInstalled() public method

public packageIsInstalled ( $packageName )

packageIsNotInstalled() public method

public packageIsNotInstalled ( $packageName )

processIsNotRunning() public method

public processIsNotRunning ( $processName )

processIsRunning() public method

public processIsRunning ( $processName )

screenIsNotRunning() public method

public screenIsNotRunning ( $sessionName )

screenIsRunning() public method

public screenIsRunning ( $sessionName )