@@ -77,8 +77,8 @@ class RepositoryMaker extends AbstractMaker | |||
$this->generateClass($generator, $storeClass, 'Repository\\', 'store.tpl.php', $options); | |||
// interfaces | |||
$this->generateInterface($input, $generator, $repositoryQueryClass . 'Interface'); | |||
$this->generateInterface($input, $generator, $storeClass . 'Interface'); | |||
//$this->generateInterface($input, $generator, $repositoryQueryClass . 'Interface'); | |||
//$this->generateInterface($input, $generator, $storeClass . 'Interface'); | |||
// write files | |||
$generator->writeChanges(); |
@@ -7,7 +7,6 @@ $(document).ready(function () { | |||
initCollectionWidget(); | |||
}); | |||
function initCollectionWidget() { | |||
$('.field-collection[data-prototype]').each(function (i, collectionWidget) { |
@@ -5,7 +5,7 @@ namespace <?= $namespace_path; ?>\<?= $domain; ?>; | |||
use Knp\Component\Pager\PaginatorInterface; | |||
use Lc\SovBundle\Repository\AbstractRepositoryQuery; | |||
class <?= $class_name ?> extends AbstractRepositoryQuery implements <?= $class_name; ?>Interface | |||
class <?= $class_name ?> extends AbstractRepositoryQuery | |||
{ | |||
public function __construct(<?= $class_name_repository; ?> $repository, PaginatorInterface $paginator) | |||
{ |
@@ -2,11 +2,11 @@ | |||
namespace <?= $namespace_path; ?>\<?= $domain; ?>; | |||
class <?= $class_name ?> implements <?= $class_name ?>Interface | |||
class <?= $class_name ?> | |||
{ | |||
protected <?= $class_name_repository_query ?>Interface $query; | |||
protected <?= $class_name_repository_query ?> $query; | |||
public function __construct(<?= $class_name_repository_query ?>Interface $query) | |||
public function __construct(<?= $class_name_repository_query ?> $query) | |||
{ | |||
$this->query = $query; | |||
} |
@@ -120,6 +120,8 @@ entity: | |||
active: Activer | |||
image: Image | |||
date: Date | |||
day: Jour | |||
groupUser: Groupe d'utilisateur | |||
panels: | |||
general: Général |
@@ -44,6 +44,10 @@ | |||
{% endblock %} | |||
{% endembed %} | |||
{# {% for child in form.settings %}#} | |||
{# {% do child.setRendered() %}#} | |||
{# {% endfor %}#} | |||
{{ form_end(form) }} | |||
{% endblock %} | |||
{% endembed %} |