src/components/ProcessControlTrait.php
public function createPidfile($appName, $path='/var/run'){
		if(!$this->control){
			$this->createControl();
		}
		return new Pidfile($this->control, strtolower($appName), $path);
	}
public function createPidfile($appName, $path='/var/run'){
		if(!$this->control){
			$this->createControl();
		}
		return new Pidfile($this->control, strtolower($appName), $path);
	}
public function createPidfile ( $ appName , $ path = '/var/run' ) { if ( ! $ this -> control ) { $ this -> createControl ( ) ; } return new Pidfile ( $ this -> control , strtolower ( $ appName ) , $ path ) ; }
Create Pid file for process
@param string $appName
@param string $path
Create Pid file for process