Skip to content

Commit

Permalink
Initialize Component manually
Browse files Browse the repository at this point in the history
  • Loading branch information
leoloso committed May 20, 2020
1 parent 89ae8fb commit a498f06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion initialize.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?php
\PoP\FileStore\Component::init();
//\PoP\FileStore\Component::initialize();
7 changes: 7 additions & 0 deletions src/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ class Component extends AbstractComponent
use YAMLServicesTrait;
// const VERSION = '0.1.0';

public static function getDependedComponentClasses(): array
{
return [
\PoP\Root\Component::class,
];
}

/**
* Initialize services
*/
Expand Down

0 comments on commit a498f06

Please sign in to comment.