\Inhere\Console\Component\FormatterPanel

Class Panel - method version please {@see \Inhere\Console\Util\Show::panel()}

Summary

Methods
Properties
Constants
show()
format()
showBorder()
$title
$titleBorder
$titleStyle
$titleAlign
$data
$bodyAlign
$footerBorder
$footer
$ucFirst
$width
$showBorder
$borderYChar
$borderXChar
$template
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$title

$title : string

Type

string

$titleBorder

$titleBorder : string

Type

string

$titleStyle

$titleStyle : string

Type

string

$titleAlign

$titleAlign : string

Type

string

$data

$data : string|array

Type

string|array

$bodyAlign

$bodyAlign : string

Type

string

$footerBorder

$footerBorder : string

Type

string

$footer

$footer : string

Type

string

$ucFirst

$ucFirst : boolean

Type

boolean

$width

$width : integer

Type

integer

$showBorder

$showBorder : boolean

Type

boolean

$borderYChar

$borderYChar : string

Type

string

$borderXChar

$borderXChar : string

Type

string

$template

$template : string

Type

string — Template for the panel. don't contains border

Methods

show()

show(mixed  $data, string  $title = 'Information Panel', array  $opts = array()) : integer

Show information data panel

Parameters

mixed $data
string $title
array $opts

Returns

integer

format()

format() : string

Returns

string

showBorder()

showBorder(boolean  $border) : $this

Parameters

boolean $border

Returns

$this