An open API service indexing awesome lists of open source software.

https://github.com/matterstech/matters-repository

Matters proposal usage of zend-repository
https://github.com/matterstech/matters-repository

abstract filters matters repository repository-pattern zend

Last synced: 5 months ago
JSON representation

Matters proposal usage of zend-repository

Awesome Lists containing this project

README

          

# matters-repository
Matters proposal usage of zend-repository

# Usage

## Definition of a \Matters\Repository

```php
select();
$select->where
->equalTo([
'name' => $name,
]);

$select->order(['created_at' => 'DESC']);

return $this->fetchListEntities($select);
}
}
```

## Instanciation

```php
findAllByName('Bob');
```

# Tests

```php
./vendor/bin/phpunit tests
```