public function extendAndShrinkSelection()

in workshop/02_Editing/02_Selecting_Code/2.1_Extend_Selection.php [33:44]


    public function extendAndShrinkSelection()
    {
        $importantValue = 32;
        if ($importantValue > 42) {
            try {
                echo 'More important than 42?';
            } catch (Exception $ex) {
                // 3. Place the cursor on the $ex variable. Play with extend/shrink selection.
                echo $ex->getMessage();
            }
        }
    }