aboutsummaryrefslogtreecommitdiffstats
path: root/Model/Specification.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 /Model/Specification.php
parent3c92894fb24a3689143ef00a48f4f3934f27d48a (diff)
downloadPraspel-96268fc58438e33be80f594479e8c8724c4d3a6a.zip
Praspel-96268fc58438e33be80f594479e8c8724c4d3a6a.tar.gz
Praspel-96268fc58438e33be80f594479e8c8724c4d3a6a.tar.bz2
Consistency: Remove `from` calls.
Diffstat (limited to 'Model/Specification.php')
-rw-r--r--Model/Specification.php9
1 files changed, 4 insertions, 5 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.