Skip to content

Commit

Permalink
Register new auto loader path
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Feb 22, 2024
1 parent a6af63f commit 56897a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions SuluArticleBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class SuluArticleBundle extends Bundle implements CompilerPassInterface
{
use PersistenceBundleTrait;

/**
* @return void
*/
public function build(ContainerBuilder $container)
{
$container->addCompilerPass($this);
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@
},
"autoload": {
"psr-4": {
"Sulu\\Bundle\\ArticleBundle\\": ""
"Sulu\\Bundle\\ArticleBundle\\": "",
"Sulu\\Article\\": ""
},
"exclude-from-classmap": [
"/src/",
"/Resources/phpcr-migrations/",
"/Tests/"
]
Expand Down

0 comments on commit 56897a6

Please sign in to comment.