Skip to content

Commit

Permalink
Change text to title h4
Browse files Browse the repository at this point in the history
  • Loading branch information
uginroot committed Feb 17, 2020
1 parent 05ad099 commit 6a23edb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ composer require uginroot/doctrine-type-set:^1.0

# Using

Create set class
#### Create set class
```php
namespace App\Type;

Expand All @@ -19,7 +19,7 @@ class RoleSetType extends SetAbstract{
}
```

Create doctrine type class
#### Create doctrine type class
```php
namespace App\DoctrineType;

Expand All @@ -34,15 +34,15 @@ class RoleSetDoctrineType extends AbstractDoctrineTypeSet{
}
```

Register doctrine type in config/packages/doctrine.yaml file
#### Register doctrine type in config/packages/doctrine.yaml file
```yaml
doctrine:
dbal:
types:
RoleSetDoctrineType: App\DoctrineType\RoleSetDoctrineType
```

Add mapping data to entity
#### Add mapping data to entity
```php
namespace App\Entity;

Expand Down Expand Up @@ -110,7 +110,7 @@ class User{
}
```

Use set immutable instead set if you need
#### Use set immutable instead set if you need
```php
use Uginroot\DoctrineTypeSet\AbstractDoctrineTypeSetImmutable;
use Uginroot\PhpSet\SetImmutableAbstract;
Expand Down

0 comments on commit 6a23edb

Please sign in to comment.