aboutsummaryrefslogtreecommitdiffstats
path: root/Visitor/Interpreter.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-09 17:18:59 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-11 08:59:02 +0100
commit96268fc58438e33be80f594479e8c8724c4d3a6a (patch)
tree941068509de70759887862b2191c49631658d610 /Visitor/Interpreter.php
parent3c92894fb24a3689143ef00a48f4f3934f27d48a (diff)
downloadPraspel-96268fc58438e33be80f594479e8c8724c4d3a6a.zip
Praspel-96268fc58438e33be80f594479e8c8724c4d3a6a.tar.gz
Praspel-96268fc58438e33be80f594479e8c8724c4d3a6a.tar.bz2
Consistency: Remove `from` calls.
Diffstat (limited to 'Visitor/Interpreter.php')
-rw-r--r--Visitor/Interpreter.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/Visitor/Interpreter.php b/Visitor/Interpreter.php
index bc3940f..407ffc7 100644
--- a/Visitor/Interpreter.php
+++ b/Visitor/Interpreter.php
@@ -36,17 +36,15 @@
namespace Hoa\Praspel\Visitor;
+use Hoa\Consistency;
use Hoa\Praspel;
use Hoa\Realdom;
use Hoa\Ustring;
use Hoa\Visitor;
-from('Hoa')
-
-/**
- * \Hoa\Realdom\Disjunction
- */
--> import('Realdom.Disjunction', true);
+if (false === Consistency::entityExists('Hoa\Realdom\Disjunction')) {
+ Consistency\Autoloader::load('Hoa\Realdom\Disjunction');
+}
/**
* Class \Hoa\Praspel\Visitor\Interpreter.