ZF\Console\Application::setProcessTitle PHP Method

setProcessTitle() protected method

Set CLI process title (PHP versions >= 5.5)
protected setProcessTitle ( )
    protected function setProcessTitle()
    {
        if (version_compare(PHP_VERSION, '5.5', 'lt')) {
            return;
        }
        // Mac OS X does not support cli_set_process_title() due to security issues
        // Bug fix for issue https://github.com/zfcampus/zf-console/issues/21
        if (PHP_OS == 'Darwin') {
            return;
        }
        cli_set_process_title($this->name);
    }