for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* ExtReference class file
*/
namespace Graviton\RestBundle\Validator\Constraints\ExtReference;
use Symfony\Component\Validator\Constraint;
* Constraint for the extref type
*
* @author List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @link http://swisscom.ch
class ExtReference extends Constraint
{
* @var string
public $message = 'Reference to "%collection%" is not allowed.';
* @var array
public $collections = [];
* Returns the name of the class that validates this constraint.
* @return string
public function validatedBy()
return 'graviton.rest.validator.extref';
}