Property | Type | Description | |
---|---|---|---|
$files | Illuminate\Filesystem\Filesystem | ||
$model | |||
$repository |
Method | Description | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files ) | ||
create ( $repository, $model ) : integer | Create the repository. | |
getModel ( ) : mixed | ||
getRepository ( ) : mixed | ||
setModel ( mixed $model ) | ||
setRepository ( mixed $repository ) |
Method | Description | |
---|---|---|
createClass ( ) | ||
createDirectory ( ) | ||
getDirectory ( ) : mixed | Get the repository directory. | |
getModelName ( ) : string | Get the model name. | |
getPath ( ) : string | Get the path. | |
getPopulateData ( ) : array | Get the populate data. | |
getRepositoryName ( ) : mixed | string | Get the repository name. | |
getStub ( ) : string | Get the stub. | |
getStubPath ( ) : string | Get the stub path. | |
populateStub ( ) : mixed | Populate the stub. | |
stripRepositoryName ( ) : string | Get the stripped repository name. |
public __construct ( Illuminate\Filesystem\Filesystem $files ) | ||
$files | Illuminate\Filesystem\Filesystem |
protected getDirectory ( ) : mixed | ||
return | mixed |
protected getModelName ( ) : string | ||
return | string |
protected getPopulateData ( ) : array | ||
return | array |
protected getRepositoryName ( ) : mixed | string | ||
return | mixed | string |
protected stripRepositoryName ( ) : string | ||
return | string |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |