lib/Pagon/ChildProcess.php
protected function childChangeUser($user)
    {
        if (is_array($user) || ($user = $this->tryChangeUser($user))) {
            posix_setgid($user['gid']);
            posix_setuid($user['uid']);
        }
    }
protected function childChangeUser($user)
    {
        if (is_array($user) || ($user = $this->tryChangeUser($user))) {
            posix_setgid($user['gid']);
            posix_setuid($user['uid']);
        }
    }
protected function childChangeUser ( $ user ) { if ( is_array ( $ user ) || ( $ user = $ this -> tryChangeUser ( $ user ) ) ) { posix_setgid ( $ user [ 'gid' ] ) ; posix_setuid ( $ user [ 'uid' ] ) ; } }
Process change user

@param string $user
Process change user