PHP Class Sstalle\php7cc\AbstractBaseMessage

Show file Open project: sstalle/php7cc Class Usage Examples

Protected Properties

Property Type Description
$line integer
$rawText string
$text string

Public Methods

Method Description
__construct ( string $text, integer | null $line = null )
getLine ( ) : integer
getRawText ( ) : string
getText ( ) : string

Protected Methods

Method Description
generateText ( ) : string

Method Details

__construct() public method

public __construct ( string $text, integer | null $line = null )
$text string
$line integer | null

generateText() abstract protected method

abstract protected generateText ( ) : string
return string

getLine() public method

public getLine ( ) : integer
return integer

getRawText() public method

public getRawText ( ) : string
return string

getText() public method

public getText ( ) : string
return string

Property Details

$line protected property

protected int $line
return integer

$rawText protected property

protected string $rawText
return string

$text protected property

protected string $text
return string