aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Interpreter.php
diff options
context:
space:
mode:
authorAlexis von Glasow <vonglasow@gmail.com>2016-03-25 09:33:25 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-05-09 13:25:27 +0200
commitd42a5c204a9fda83ac9570c56361cc3e0f35bd06 (patch)
tree4f3388611f4a0f7041c103946af9791dbc2fcaee /Visitor/Interpreter.php
parent1e80ca1f8f2d83ccd94457da234e9dd88ef5c7c6 (diff)
downloadPraspel-d42a5c204a9fda83ac9570c56361cc3e0f35bd06.zip
Praspel-d42a5c204a9fda83ac9570c56361cc3e0f35bd06.tar.gz
Praspel-d42a5c204a9fda83ac9570c56361cc3e0f35bd06.tar.bz2
Disjunction: Fix autoloading.
Diffstat (limited to 'Visitor/Interpreter.php')
-rw-r--r--Visitor/Interpreter.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index 71bec9d..a4a7237 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -42,10 +42,6 @@ use Hoa\Realdom;
use Hoa\Ustring;
use Hoa\Visitor;
-if (false === Consistency::entityExists('Hoa\Realdom\Disjunction')) {
- Consistency\Autoloader::load('Hoa\Realdom\Disjunction');
-}
-
/**
* Class \Hoa\Praspel\Visitor\Interpreter.
*
@@ -668,3 +664,7 @@ class Interpreter implements Visitor\Visit
return $this->_classnameToBind;
}
}
+
+if (false === Consistency::entityExists('Hoa\Realdom\Disjunction', true)) {
+ throw new Praspel\Exception('Hoa\Realdom seems to not be loaded.');
+}