Download the PHP package rodgermd/uniqueentitynotnull-bundle without Composer
On this page you can find all versions of the php package rodgermd/uniqueentitynotnull-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rodgermd/uniqueentitynotnull-bundle
More information about rodgermd/uniqueentitynotnull-bundle
Files in rodgermd/uniqueentitynotnull-bundle
Download rodgermd/uniqueentitynotnull-bundle
More information about rodgermd/uniqueentitynotnull-bundle
Files in rodgermd/uniqueentitynotnull-bundle
Vendor rodgermd
Package uniqueentitynotnull-bundle
Short Description Check if entity is unique if not null
License MIT
Homepage https://github.com/rodgermd/UniqueNotNullEntity
Package uniqueentitynotnull-bundle
Short Description Check if entity is unique if not null
License MIT
Homepage https://github.com/rodgermd/UniqueNotNullEntity
Please rate this library. Is it a good library?
Informations about the package uniqueentitynotnull-bundle
UniqueNotNullEntity
Validates the entity if properties are unique if it is not null
Install
composer.json:
"rodgermd/uniqueentitynotnull-bundle": "dev-master"
AppKernel.php:
new Rodgermd\UniqueNotNullEntityBundle\RodgermdUniqueNotNullEntityBundle(),
Usage
use Rodgermd\UniqueNotNullEntityBundle\Validator as UniqueConstraints; # include namespace shortcut
/**
* @ORM\Entity
* @UniqueConstraints\HasUniqueProperties; # defines the class has properties to check, required to start validation
*/
class Entity {
/**
* @UniqueConstraints\UniqueProperty(message="Not unique property") # property to be validated
*/
protected $property;
}
All versions of uniqueentitynotnull-bundle with dependencies
PHP Build Version
Package Version
No informations.
The package rodgermd/uniqueentitynotnull-bundle contains the following files
Loading the files please wait ....