Sfoglia il codice sorgente

Ajout de système de traduction / gallery / file manager

develop
Fab 3 anni fa
parent
commit
ffb27d78a9
22 ha cambiato i file con 849 aggiunte e 383 eliminazioni
  1. +1
    -1
      .gitignore
  2. +6
    -4
      composer.json
  3. +605
    -298
      composer.lock
  4. +16
    -15
      config/bundles.php
  5. +5
    -0
      config/packages/artgris_file_manager.yaml
  6. +1
    -0
      config/packages/doctrine.yaml
  7. +19
    -0
      config/packages/fos_ckeditor.yaml
  8. +1
    -1
      config/packages/framework.yaml
  9. +2
    -0
      config/packages/lc_admin.yaml
  10. +1
    -0
      config/packages/security.yaml
  11. +3
    -1
      config/packages/stof_doctrine_extensions.yaml
  12. +2
    -3
      config/packages/translation.yaml
  13. +2
    -0
      config/packages/twig.yaml
  14. +6
    -1
      config/routes.yaml
  15. +2
    -1
      config/services.yaml
  16. +0
    -37
      migrations/Version20210321140455.php
  17. +53
    -0
      migrations/Version20210428070931.php
  18. +2
    -0
      src/Controller/Admin/DashboardController.php
  19. +15
    -14
      src/Controller/Admin/PageCrudController.php
  20. +30
    -0
      src/Entity/File.php
  21. +65
    -4
      src/Entity/Page.php
  22. +12
    -3
      symfony.lock

+ 1
- 1
.gitignore Vedi File

@@ -22,4 +22,4 @@
###< symfony/phpunit-bridge ###

/Lc/*
/.idea/*
/.idea/

+ 6
- 4
composer.json Vedi File

@@ -12,11 +12,8 @@
"doctrine/doctrine-bundle": "^2.2",
"doctrine/doctrine-migrations-bundle": "^3.0",
"doctrine/orm": "^2.8",
"easycorp/easyadmin-bundle": "^3.1",
"friendsofsymfony/ckeditor-bundle": "^2.2",
"phpdocumentor/reflection-docblock": "^5.2",
"sensio/framework-extra-bundle": "^5.1",
"stof/doctrine-extensions-bundle": "^1.5",
"symfony/asset": "5.2.*",
"symfony/console": "5.2.*",
"symfony/dotenv": "5.2.*",
@@ -42,7 +39,12 @@
"symfony/web-link": "5.2.*",
"symfony/yaml": "5.2.*",
"twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0"
"twig/twig": "^2.12|^3.0",

"easycorp/easyadmin-bundle": "dev-master",
"artgris/filemanager-bundle": "^2.2",
"friendsofsymfony/ckeditor-bundle": "^2.2",
"stof/doctrine-extensions-bundle": "^1.5"
},
"require-dev": {
"symfony/browser-kit": "^5.2",

+ 605
- 298
composer.lock
File diff soppresso perché troppo grande
Vedi File


+ 16
- 15
config/bundles.php Vedi File

@@ -1,19 +1,20 @@
<?php

return [
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle::class => ['all' => true],
FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true],
Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true],
Lc\AdminBundle\LcAdminBundle::class => ['all' => true],
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
Lc\AdminBundle\LcAdminBundle::class => ['all' => true],
Artgris\Bundle\FileManagerBundle\ArtgrisFileManagerBundle::class => ['all' => true],
EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle::class => ['all' => true],
FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true],
Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true],
];

+ 5
- 0
config/packages/artgris_file_manager.yaml Vedi File

@@ -0,0 +1,5 @@
artgris_file_manager:
conf:
default:
dir: "../public/uploads"
type: 'image'

+ 1
- 0
config/packages/doctrine.yaml Vedi File

@@ -18,3 +18,4 @@ doctrine:
alias: App
resolve_target_entities:
Lc\AdminBundle\IModel\User\UserInterface: App\Entity\User
Lc\AdminBundle\IModel\Cms\FileInterface: App\Entity\File

+ 19
- 0
config/packages/fos_ckeditor.yaml Vedi File

@@ -1,5 +1,24 @@
# Read the documentation: https://symfony.com/doc/current/bundles/FOSCKEditorBundle/index.html

fos_ck_editor:
input_sync: true
default_config: base_config
configs:
base_config:
filebrowserBrowseRoute: file_manager
filebrowserBrowseRouteParameters:
conf: default
module: ckeditor
format_tags: 'p;h2;h3'
toolbar:
- { name: "styles", items: ['Bold', 'Italic','Underline', 'Strike']}
- { name: "paragraph", items: ['Format', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote'] }
- { name: "link", items: [ 'Link', 'Unlink'] }
- {name: 'insert', items: [ 'Image' ]}
- {name: 'document', items: [ 'Source' ]}
simple_config:
toolbar:
- { items: ['Bold', 'Italic', 'Underline', 'Colors', 'Source'] }
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'

+ 1
- 1
config/packages/framework.yaml Vedi File

@@ -10,7 +10,7 @@ framework:
handler_id: null
cookie_secure: auto
cookie_samesite: lax
translator: { fallbacks: '%app.locales%' }
#esi: true
#fragments: true
php_errors:

+ 2
- 0
config/packages/lc_admin.yaml Vedi File

@@ -0,0 +1,2 @@
lc_admin:
#dashboardDefault: niche

+ 1
- 0
config/packages/security.yaml Vedi File

@@ -35,5 +35,6 @@ security:
# Easy way to control access for large sections of your site
# Note: Only the *first* access control that matches will be used
access_control:
- { path: ^/manager, roles: [ROLE_ADMIN, ROLE_SUPER_ADMIN] }
- { path: ^/admin, roles: [ROLE_ADMIN, ROLE_SUPER_ADMIN] }
- { path: ^/profile, roles: ROLE_USER }

+ 3
- 1
config/packages/stof_doctrine_extensions.yaml Vedi File

@@ -1,11 +1,13 @@
# Read the documentation: https://symfony.com/doc/current/bundles/StofDoctrineExtensionsBundle/index.html
# See the official DoctrineExtensions documentation for more details: https://github.com/Atlantic18/DoctrineExtensions/tree/master/doc/
stof_doctrine_extensions:
default_locale: fr_FR
default_locale: '%app.default_locale%'
translation_fallback: true
orm:
default:
tree: true
timestampable: true # not needed: listeners are not enabled by default
sluggable: true
blameable: true
translatable: true


+ 2
- 3
config/packages/translation.yaml Vedi File

@@ -1,6 +1,5 @@
framework:
default_locale: en
default_locale: '%app.default_locale%'
translator:
default_path: '%kernel.project_dir%/translations'
fallbacks:
- en
fallbacks: '%app.locales%'

+ 2
- 0
config/packages/twig.yaml Vedi File

@@ -1,2 +1,4 @@
twig:
default_path: '%kernel.project_dir%/templates'
globals:
app_locales: "%app.locales%"

+ 6
- 1
config/routes.yaml Vedi File

@@ -10,4 +10,9 @@ login:
controller: Lc\AdminBundle\Controller\Admin\SecurityController::login
logout:
path: /logout
controller: Lc\AdminBundle\Admin\SecurityController::logout
controller: Lc\AdminBundle\Admin\SecurityController::logout

artgris_bundle_file_manager:
resource: "@ArtgrisFileManagerBundle/Controller"
type: annotation
prefix: /manager

+ 2
- 1
config/services.yaml Vedi File

@@ -4,7 +4,8 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:

app.locales: ["fr", "en"]
app.default_locale: "fr"
services:
# default configuration for services in *this* file
_defaults:

+ 0
- 37
migrations/Version20210321140455.php Vedi File

@@ -1,37 +0,0 @@
<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210321140455 extends AbstractMigration
{
public function getDescription() : string
{
return '';
}

public function up(Schema $schema) : void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE page (id INT AUTO_INCREMENT NOT NULL, created_by_id INT NOT NULL, updated_by_id INT NOT NULL, title VARCHAR(255) NOT NULL, description LONGTEXT DEFAULT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description LONGTEXT DEFAULT NULL, old_urls LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', slug VARCHAR(255) NOT NULL, position DOUBLE PRECISION NOT NULL, status DOUBLE PRECISION NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, dev_alias VARCHAR(255) DEFAULT NULL, image VARCHAR(255) DEFAULT NULL, INDEX IDX_140AB620B03A8386 (created_by_id), INDEX IDX_140AB620896DBBDE (updated_by_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE user (id INT AUTO_INCREMENT NOT NULL, email VARCHAR(180) NOT NULL, roles LONGTEXT NOT NULL COMMENT \'(DC2Type:json)\', password VARCHAR(255) NOT NULL, lastname VARCHAR(255) DEFAULT NULL, firstname VARCHAR(255) DEFAULT NULL, is_verified TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE page ADD CONSTRAINT FK_140AB620B03A8386 FOREIGN KEY (created_by_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE page ADD CONSTRAINT FK_140AB620896DBBDE FOREIGN KEY (updated_by_id) REFERENCES user (id)');
}

public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE page DROP FOREIGN KEY FK_140AB620B03A8386');
$this->addSql('ALTER TABLE page DROP FOREIGN KEY FK_140AB620896DBBDE');
$this->addSql('DROP TABLE page');
$this->addSql('DROP TABLE user');
}
}

+ 53
- 0
migrations/Version20210428070931.php Vedi File

@@ -0,0 +1,53 @@
<?php

declare(strict_types=1);

namespace DoctrineMigrations;

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210428070931 extends AbstractMigration
{
public function getDescription() : string
{
return '';
}

public function up(Schema $schema) : void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE file (id INT AUTO_INCREMENT NOT NULL, created_by_id INT NOT NULL, updated_by_id INT NOT NULL, image VARCHAR(255) DEFAULT NULL, legend VARCHAR(255) DEFAULT NULL, dev_alias VARCHAR(255) DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, locales_enabled LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', position DOUBLE PRECISION NOT NULL, INDEX IDX_8C9F3610B03A8386 (created_by_id), INDEX IDX_8C9F3610896DBBDE (updated_by_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE lc_translations_entity (id INT AUTO_INCREMENT NOT NULL, locale VARCHAR(8) NOT NULL, object_class VARCHAR(191) NOT NULL, field VARCHAR(32) NOT NULL, foreign_key VARCHAR(64) NOT NULL, content LONGTEXT DEFAULT NULL, INDEX entity_translation_idx (locale, object_class, field, foreign_key), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE page (id INT AUTO_INCREMENT NOT NULL, image_id INT DEFAULT NULL, created_by_id INT NOT NULL, updated_by_id INT NOT NULL, title VARCHAR(255) NOT NULL, description LONGTEXT DEFAULT NULL, meta_title VARCHAR(255) DEFAULT NULL, meta_description LONGTEXT DEFAULT NULL, old_urls LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', slug VARCHAR(255) NOT NULL, position DOUBLE PRECISION NOT NULL, status DOUBLE PRECISION NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, dev_alias VARCHAR(255) DEFAULT NULL, locales_enabled LONGTEXT DEFAULT NULL COMMENT \'(DC2Type:array)\', INDEX IDX_140AB6203DA5256D (image_id), INDEX IDX_140AB620B03A8386 (created_by_id), INDEX IDX_140AB620896DBBDE (updated_by_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE page_file (page_id INT NOT NULL, file_id INT NOT NULL, INDEX IDX_B5B2ACAC4663E4 (page_id), INDEX IDX_B5B2ACA93CB796C (file_id), PRIMARY KEY(page_id, file_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE user (id INT AUTO_INCREMENT NOT NULL, email VARCHAR(180) NOT NULL, roles LONGTEXT NOT NULL COMMENT \'(DC2Type:json)\', password VARCHAR(255) NOT NULL, lastname VARCHAR(255) DEFAULT NULL, firstname VARCHAR(255) DEFAULT NULL, is_verified TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE file ADD CONSTRAINT FK_8C9F3610B03A8386 FOREIGN KEY (created_by_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE file ADD CONSTRAINT FK_8C9F3610896DBBDE FOREIGN KEY (updated_by_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE page ADD CONSTRAINT FK_140AB6203DA5256D FOREIGN KEY (image_id) REFERENCES file (id)');
$this->addSql('ALTER TABLE page ADD CONSTRAINT FK_140AB620B03A8386 FOREIGN KEY (created_by_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE page ADD CONSTRAINT FK_140AB620896DBBDE FOREIGN KEY (updated_by_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE page_file ADD CONSTRAINT FK_B5B2ACAC4663E4 FOREIGN KEY (page_id) REFERENCES page (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE page_file ADD CONSTRAINT FK_B5B2ACA93CB796C FOREIGN KEY (file_id) REFERENCES file (id) ON DELETE CASCADE');
}

public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE page DROP FOREIGN KEY FK_140AB6203DA5256D');
$this->addSql('ALTER TABLE page_file DROP FOREIGN KEY FK_B5B2ACA93CB796C');
$this->addSql('ALTER TABLE page_file DROP FOREIGN KEY FK_B5B2ACAC4663E4');
$this->addSql('ALTER TABLE file DROP FOREIGN KEY FK_8C9F3610B03A8386');
$this->addSql('ALTER TABLE file DROP FOREIGN KEY FK_8C9F3610896DBBDE');
$this->addSql('ALTER TABLE page DROP FOREIGN KEY FK_140AB620B03A8386');
$this->addSql('ALTER TABLE page DROP FOREIGN KEY FK_140AB620896DBBDE');
$this->addSql('DROP TABLE file');
$this->addSql('DROP TABLE lc_translations_entity');
$this->addSql('DROP TABLE page');
$this->addSql('DROP TABLE page_file');
$this->addSql('DROP TABLE user');
}
}

+ 2
- 0
src/Controller/Admin/DashboardController.php Vedi File

@@ -8,4 +8,6 @@ use Lc\AdminBundle\Controller\Admin\DashboardController as LcDashboardController
class DashboardController extends LcDashboardController
{



}

+ 15
- 14
src/Controller/Admin/PageCrudController.php Vedi File

@@ -4,10 +4,12 @@ namespace App\Controller\Admin;

use App\Entity\Page;
use EasyCorp\Bundle\EasyAdminBundle\Field\ChoiceField;
use EasyCorp\Bundle\EasyAdminBundle\Field\ImageField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextEditorField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
use Lc\AdminBundle\Controller\Admin\AbstractCrudController;
use Lc\AdminBundle\Field\CKEditorField;
use Lc\AdminBundle\Field\FileManagerField;
use Lc\AdminBundle\Field\GalleryManagerField;

class PageCrudController extends AbstractCrudController
{
@@ -19,19 +21,18 @@ class PageCrudController extends AbstractCrudController

public function configureFields(string $pageName): iterable
{
return [
TextField::new('title'),
TextEditorField::new('description'),
ImageField::new('image')
->setBasePath('/uploads/')
->setUploadDir('public/uploads/'),
TextField::new('devAlias'),
ChoiceField::new('status')
->setChoices(['En ligne'=> 1, 'Hors ligne'=>0])
->setFormTypeOption('expanded', true)
->setFormTypeOption('multiple', false)
->setCustomOption('widget', false)
];
return [
TextField::new('title'),
CKEditorField::new('description'),
FileManagerField::new('image'),
GalleryManagerField::new('gallery'),
TextField::new('devAlias'),
ChoiceField::new('status')
->setChoices(['En ligne' => 1, 'Hors ligne' => 0])
->setFormTypeOption('expanded', true)
->setFormTypeOption('multiple', false)
->setCustomOption('widget', false)
];
}

}

+ 30
- 0
src/Entity/File.php Vedi File

@@ -0,0 +1,30 @@
<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;
use Lc\AdminBundle\IModel\Cms\FileInterface;
use Lc\AdminBundle\Repository\Cms\FileRepository;
use Lc\AdminBundle\Model\Cms\File as LcFileModel;
use Gedmo\Mapping\Annotation as Gedmo;
use Lc\AdminBundle\Entity\Translation\EntityTranslation;

/**
* @ORM\Entity(repositoryClass=FileRepository::class)
* @Gedmo\TranslationEntity(class=EntityTranslation::class)
*/
class File extends LcFileModel implements FileInterface
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;

public function getId(): ?int
{
return $this->id;
}

}

+ 65
- 4
src/Entity/Page.php Vedi File

@@ -3,17 +3,22 @@
namespace App\Entity;

use App\Repository\PageRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Lc\AdminBundle\IModel\Cms\ImageInterface;
use Gedmo\Mapping\Annotation as Gedmo;
use Lc\AdminBundle\Entity\Translation\EntityTranslation;
use Lc\AdminBundle\IModel\Translation\TranslatableInterface;
use Lc\AdminBundle\Model\Cms\AbstractDocument;
use Lc\AdminBundle\Model\Cms\ImageTrait;
use Lc\AdminBundle\Model\Translation\TranslatableTrait;

/**
* @ORM\Entity(repositoryClass=PageRepository::class)
* @Gedmo\TranslationEntity(class=EntityTranslation::class)
*/
class Page extends AbstractDocument implements ImageInterface
class Page extends AbstractDocument implements TranslatableInterface
{
use ImageTrait;
use TranslatableTrait;

/**
* @ORM\Id
@@ -22,8 +27,64 @@ class Page extends AbstractDocument implements ImageInterface
*/
private $id;

/**
* @ORM\ManyToOne(targetEntity=File::class, cascade={"persist", "remove"})
*/
private $image;

/**
* @ORM\ManyToMany(targetEntity=File::class, cascade={"persist", "remove"}, orphanRemoval=true)
* @ORM\OrderBy({"position" = "ASC"})
*/
private $gallery;

public function __construct()
{
$this->gallery = new ArrayCollection();
}



public function getId(): ?int
{
return $this->id;
}

public function getImage(): ?File
{
return $this->image;
}

public function setImage(?File $image): self
{
$this->image = $image;

return $this;
}

/**
* @return Collection|File[]
*/
public function getGallery(): Collection
{
return $this->gallery;
}

public function addGallery(File $gallery): self
{
if (!$this->gallery->contains($gallery)) {
$this->gallery[] = $gallery;
}

return $this;
}

public function removeGallery(File $gallery): self
{
$this->gallery->removeElement($gallery);

return $this;
}


}

+ 12
- 3
symfony.lock Vedi File

@@ -1,7 +1,13 @@
{
"artgris/filemanager-bundle": {
"version": "2.2.3"
},
"behat/transliterator": {
"version": "v1.3.0"
},
"composer/installers": {
"version": "v1.10.0"
},
"composer/package-versions-deprecated": {
"version": "1.11.99.1"
},
@@ -109,7 +115,7 @@
]
},
"gedmo/doctrine-extensions": {
"version": "v3.0.0"
"version": "v3.0.4"
},
"laminas/laminas-code": {
"version": "3.5.1"
@@ -126,6 +132,9 @@
"nikic/php-parser": {
"version": "v4.10.4"
},
"oomphinc/composer-installers-extender": {
"version": "2.0.0"
},
"php": {
"version": "7.4"
},
@@ -402,7 +411,7 @@
"version": "v1.20.0"
},
"symfony/polyfill-uuid": {
"version": "v1.20.0"
"version": "v1.22.1"
},
"symfony/process": {
"version": "v5.2.1"
@@ -509,7 +518,7 @@
"version": "v1.0.1"
},
"symfony/uid": {
"version": "v5.2.1"
"version": "v5.2.6"
},
"symfony/validator": {
"version": "4.3",

Loading…
Annulla
Salva