protected function getScreenWidth()
    {
        if (!$this->_screenWidth) {
            $size = Console::getScreenSize();
            $this->_screenWidth = $size[0]
                ?? self::DEFAULT_CONSOLE_SCREEN_WIDTH + self::CONSOLE_SCROLLBAR_OFFSET;
        }
        return $this->_screenWidth;
    }
protected function getScreenWidth()
    {
        if (!$this->_screenWidth) {
            $size = Console::getScreenSize();
            $this->_screenWidth = $size[0]
                ?? self::DEFAULT_CONSOLE_SCREEN_WIDTH + self::CONSOLE_SCROLLBAR_OFFSET;
        }
        return $this->_screenWidth;
    }
protected function getScreenWidth ( ) { if ( ! $ this -> _screenWidth ) { $ size = Console :: getScreenSize ( ) ; $ this -> _screenWidth = $ size [ 0 ] ?? self :: DEFAULT_CONSOLE_SCREEN_WIDTH + self :: CONSOLE_SCROLLBAR_OFFSET ; } return $ this -> _screenWidth ; }
Getting screen width.
If it is not able to determine screen width, default value `123` will be set.

@return int screen width
Getting screen width . If it is not able to determine screen width default value 123 will be set .