PHP Class Bosnadev\Repositories\Console\Commands\Creators\CriteriaCreator

Afficher le fichier Open project: bosnadev/repositories

Protected Properties

Свойство Type Description
$criteria
$files Illuminate\Filesystem\Filesystem
$model

Méthodes publiques

Méthode Description
__construct ( Illuminate\Filesystem\Filesystem $files )
create ( $criteria, $model ) : integer Create the criteria.
createDirectory ( ) Create the criteria directory.
getCriteria ( ) : mixed
getDirectory ( ) : string Get the criteria directory.
getModel ( ) : mixed
setCriteria ( mixed $criteria )
setModel ( mixed $model )

Méthodes protégées

Méthode Description
createClass ( ) : integer Create the repository class.
getPath ( ) : string Get the path.
getPopulateData ( ) : array Get the populate data.
getStub ( ) : string Get the stub.
getStubPath ( ) : string Get the stub path.
pluralizeModel ( ) : string Pluralize the model.
populateStub ( ) : mixed Populate the stub.

Method Details

__construct() public méthode

public __construct ( Illuminate\Filesystem\Filesystem $files )
$files Illuminate\Filesystem\Filesystem

create() public méthode

Create the criteria.
public create ( $criteria, $model ) : integer
$criteria
$model
Résultat integer

createClass() protected méthode

Create the repository class.
protected createClass ( ) : integer
Résultat integer

createDirectory() public méthode

Create the criteria directory.
public createDirectory ( )

getCriteria() public méthode

public getCriteria ( ) : mixed
Résultat mixed

getDirectory() public méthode

Get the criteria directory.
public getDirectory ( ) : string
Résultat string

getModel() public méthode

public getModel ( ) : mixed
Résultat mixed

getPath() protected méthode

Get the path.
protected getPath ( ) : string
Résultat string

getPopulateData() protected méthode

Get the populate data.
protected getPopulateData ( ) : array
Résultat array

getStub() protected méthode

Get the stub.
protected getStub ( ) : string
Résultat string

getStubPath() protected méthode

Get the stub path.
protected getStubPath ( ) : string
Résultat string

pluralizeModel() protected méthode

Pluralize the model.
protected pluralizeModel ( ) : string
Résultat string

populateStub() protected méthode

Populate the stub.
protected populateStub ( ) : mixed
Résultat mixed

setCriteria() public méthode

public setCriteria ( mixed $criteria )
$criteria mixed

setModel() public méthode

public setModel ( mixed $model )
$model mixed

Property Details

$criteria protected_oe property

protected $criteria

$files protected_oe property

protected Filesystem,Illuminate\Filesystem $files
Résultat Illuminate\Filesystem\Filesystem

$model protected_oe property

protected $model