PHP Class Amranidev\ScaffoldInterface\Parsers\Parser

Author: Amrani Houssain ([email protected])
Show file Open project: amranidev/scaffold-interface Class Usage Examples

Protected Properties

Property Type Description
$data array Parser data.

Public Methods

Method Description
__construct ( $request ) : void Create new Parser instance.
getParse ( ) : string Parse template specification.
getTemplate ( ) : string Get Template.
plural ( ) : string Get the entity name plural.
singular ( ) : string Get the entity name singular.

Method Details

__construct() public method

Create new Parser instance.
public __construct ( $request ) : void
return void

getParse() public method

Parse template specification.
public getParse ( ) : string
return string

getTemplate() public method

Get Template.
public getTemplate ( ) : string
return string

plural() public method

Get the entity name plural.
public plural ( ) : string
return string

singular() public method

Get the entity name singular.
public singular ( ) : string
return string

Property Details

$data protected property

Parser data.
protected array $data
return array