Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jedenweb/doctrinevisible

Visibility trait for Doctrine entities
https://github.com/jedenweb/doctrinevisible

Last synced: about 1 month ago
JSON representation

Visibility trait for Doctrine entities

Awesome Lists containing this project

README

        

# Doctrine visible

Visibility trait for Doctrine entities

## Instalation

The best way to install jedenweb/doctrine-visible is using [Composer](http://getcomposer.org/):

```
$ composer require jedenweb/doctrine-visible:^1.0
```

## Usage

### In Doctrine entity

```php

use JedenWeb\Doctrine\Visible\Visible;

/**
* @ORM\Entity
*/
class Entity
{

use Visible;

}

```