PHP Class Amranidev\ScaffoldInterface\Filesystem\Path

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

Public Properties

Property Type Description
$migrationPath string Migration file path.

Public Methods

Method Description
__construct ( ) : void Create new Paths instance.
controllerPath ( ) : string Get controller file path.
createPath ( ) : string Get create file path.
dirPath ( ) : string Get views directory path.
editPath ( ) : string Get edit file path.
indexPath ( ) : string Get index file path.
modelPath ( ) : string Get model file path.
routePath ( ) : string Get route file path.
showPath ( ) : string Get show file path.

Private Methods

Method Description
migrationPath ( ) : string Get migration file path.

Method Details

__construct() public method

Create new Paths instance.
public __construct ( ) : void
return void

controllerPath() public method

Get controller file path.
public controllerPath ( ) : string
return string

createPath() public method

Get create file path.
public createPath ( ) : string
return string

dirPath() public method

Get views directory path.
public dirPath ( ) : string
return string

editPath() public method

Get edit file path.
public editPath ( ) : string
return string

indexPath() public method

Get index file path.
public indexPath ( ) : string
return string

modelPath() public method

Get model file path.
public modelPath ( ) : string
return string

routePath() public method

Get route file path.
public routePath ( ) : string
return string

showPath() public method

Get show file path.
public showPath ( ) : string
return string

Property Details

$migrationPath public property

Migration file path.
public string $migrationPath
return string