Text UI
A simple and fast way to take user input and display output in text mode using PHP.
Loading...
Searching...
No Matches
HLine Class Reference
Inheritance diagram for HLine:
DrawableInterface

Public Member Functions

 __construct (string $char='-')
 
 draw ()
 
- Public Member Functions inherited from DrawableInterface

Protected Attributes

readonly string $char
 

Detailed Description

Draws a horizontal line on the screen.

Author
everton3x

Definition at line 10 of file HLine.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string $char = '-')

Definition at line 14 of file HLine.php.

Member Function Documentation

◆ draw()

draw ( )

Draw the line.

Returns
void @SuppressWarnings(PHPMD.StaticAccess)

Implements DrawableInterface.

Definition at line 25 of file HLine.php.

Field Documentation

◆ $char

readonly string $char
protected

Definition at line 12 of file HLine.php.


The documentation for this class was generated from the following file: