src/SAREhub/Commons/Process/PcntlSignals.php
public static function create($install = true)
    {
        $instance = new PcntlSignals();
        if ($install) {
            $instance->install(self::getDefaultInstalledSignals());
        }
        return $instance;
    }
public static function create($install = true)
    {
        $instance = new PcntlSignals();
        if ($install) {
            $instance->install(self::getDefaultInstalledSignals());
        }
        return $instance;
    }
public static function create ( $ install = true ) { $ instance = new PcntlSignals ( ) ; if ( $ install ) { $ instance -> install ( self :: getDefaultInstalledSignals ( ) ) ; } return $ instance ; }
Factory method, can install default signals.
@param bool $install When true installs signals.
@return PcntlSignals
Factory method can install default signals .