Skip to content

Commit

Permalink
load observers registry + reorder require calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfame committed Dec 27, 2024
1 parent 04a0902 commit af1ebce
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/plugin/class-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,22 @@ class Engine {

public function __construct() {
require 'enum-subject-type.php';
require 'class-subject.php';
require 'class-schema.php';

require 'class-handlers-registry.php';
require 'class-post-type-ui.php';
require 'class-transformer.php';
require 'class-observers-registry.php';

require 'class-subjects-controller.php';

require 'class-storage.php';
require 'class-schema.php';
require 'utils.php';
require 'class-subject.php';

require 'class-post-type-ui.php';
require 'class-transformer.php';
require 'class-ops.php';

require 'utils.php';

( function () {
new Transformer();
new Post_Type_UI( self::STORAGE_POST_TYPE );
Expand Down

0 comments on commit af1ebce

Please sign in to comment.