Console   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 12
rs 10
c 4
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A bell() 0 2 1
1
<?php
2
3
/** 
4
 *        _    _        _ _
5
 *  _ __ (_)__| |_  ___| | |
6
 * | '  \| (_-< ' \/ -_) | |
7
 * |_|_|_|_/__/_||_\___|_|_|
8
 *
9
 * This file is part of Kristuff\Mishell.
10
 * (c) Kr1s7uff For the full copyright and license information, 
11
 * please view the LICENSE file that was distributed with this 
12
 * source code.
13
 *
14
 * @version    1.6.2
15
 * @copyright  2017-2024 Kr157uff
16
 */
17
namespace Kristuff\Mishell;
18
 
19
class Console extends \Kristuff\Mishell\ShellTablePrinter
20
{
21
    /**
22
     * Plays a bell sound in console (if available)
23
     *
24
     * @access public
25
     * @static method
26
     *
27
     * @return void         
28
     */
29
    public static function bell() {
30
        echo "\007";
31
    }
32
}