aboutsummaryrefslogtreecommitdiffstats
path: root/Model
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 /Model
parent3c92894fb24a3689143ef00a48f4f3934f27d48a (diff)
downloadPraspel-96268fc58438e33be80f594479e8c8724c4d3a6a.zip
Praspel-96268fc58438e33be80f594479e8c8724c4d3a6a.tar.gz
Praspel-96268fc58438e33be80f594479e8c8724c4d3a6a.tar.bz2
Consistency: Remove `from` calls.
Diffstat (limited to 'Model')
-rw-r--r--Model/Specification.php9
-rw-r--r--Model/Variable/Implicit.php10
2 files changed, 8 insertions, 11 deletions
diff --git a/Model/Specification.php b/Model/Specification.php
index a352c8a..11334cd 100644
--- a/Model/Specification.php
+++ b/Model/Specification.php
@@ -36,12 +36,11 @@
namespace Hoa\Praspel\Model;
-from('Hoa')
+use Hoa\Consistency;
-/**
- * \Hoa\Realdom\Disjunction
- */
--> import('Realdom.Disjunction', true);
+if (false === Consistency::entityExists('Hoa\Realdom\Disjunction')) {
+ Consistency\Autoloader::load('Hoa\Realdom\Disjunction');
+}
/**
* Class \Hoa\Praspel\Model\Specification.
diff --git a/Model/Variable/Implicit.php b/Model/Variable/Implicit.php
index 3877480..5da50c8 100644
--- a/Model/Variable/Implicit.php
+++ b/Model/Variable/Implicit.php
@@ -36,15 +36,13 @@
namespace Hoa\Praspel\Model\Variable;
+use Hoa\Consistency;
use Hoa\Praspel;
use Hoa\Realdom;
-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\Model\Variable\Implicit.