PHP Class App\Repositories\AbstractConfigRepository

Inheritance: implements App\Repositories\RepositoryInterface
Afficher le fichier Open project: ngmy/webloyer

Protected Properties

Свойство Type Description
$reader
$writer

Méthodes publiques

Méthode Description
__construct ( App\Services\Config\ConfigReaderInterface $reader, App\Services\Config\ConfigWriterInterface $writer ) : void Create a new repository instance.
all ( )
byId ( $id )
byPage ( $page = 1, $limi = 10 )
create ( array $data )
delete ( $id )
update ( array $data )

Method Details

__construct() public méthode

Create a new repository instance.
public __construct ( App\Services\Config\ConfigReaderInterface $reader, App\Services\Config\ConfigWriterInterface $writer ) : void
$reader App\Services\Config\ConfigReaderInterface
$writer App\Services\Config\ConfigWriterInterface
Résultat void

all() public méthode

public all ( )

byId() public méthode

public byId ( $id )

byPage() public méthode

public byPage ( $page = 1, $limi = 10 )

create() public méthode

public create ( array $data )
$data array

delete() public méthode

public delete ( $id )

update() public méthode

public update ( array $data )
$data array

Property Details

$reader protected_oe property

protected $reader

$writer protected_oe property

protected $writer