create visualisation service rers #268

This commit is contained in:
2014-11-10 12:15:10 +01:00
parent 16308d0139
commit 28862bbdb9
9 changed files with 293 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace Chill\CustomFieldsBundle\Service;
class CustomFieldsHelperException extends \Exception
{
public static function customFieldsGroupNotFound($entity)
{
return new CustomFieldsRenderingException("The customFieldsGroups associated with $entity are not found");
}
public static function slugIsMissing()
{
return new CustomFieldsRenderingException("The slug is missing");
}
}