jhorlima/mb-repository

There is no license information available for the latest version (1.0.1) of this package.

Modulo de Repositório para o MocaBonita

Installs: 25

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:wordpress-framework-plugin

1.0.1 2018-01-10 13:16 UTC

This package is auto-updated.

Last update: 2024-11-07 13:10:54 UTC


README

#Repositório - MocaBonita

Modulo de Repositório para o MocaBonita

$ composer require jhorlima/mb-repository
<?php

namespace Projeto\Repository;

use Projeto\Model\Usuarios;
use MbRepository\BaseRepository;

class UsuariosRepository extends BaseRepository
{
    public function model()
    {
        return Usuarios::class;
    }
}

Cada parametro pode ser obtido através do método

<?php

use Projeto\Repository\UsuariosRepository;


$repository = new UsuariosRepository();

var_dump($repository->all());