aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-22 12:03:12 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-11-22 12:03:12 +0100
commit6382c6b467614a2caa4a695f51d0b2bb659e5c95 (patch)
treea24f808127a2a091b2f38d1528efb6baf730e6d4
parentc862a7cc3104eb461e9197b5f7ed21eb4a0a71f3 (diff)
downloadPraspel-6382c6b467614a2caa4a695f51d0b2bb659e5c95.zip
Praspel-6382c6b467614a2caa4a695f51d0b2bb659e5c95.tar.gz
Praspel-6382c6b467614a2caa4a695f51d0b2bb659e5c95.tar.bz2
Classnames are backslash left-trimmed.
-rw-r--r--Model/Specification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Model/Specification.php b/Model/Specification.php
index d6a85fd..33ccb0f 100644
--- a/Model/Specification.php
+++ b/Model/Specification.php
@@ -140,7 +140,7 @@ class Specification extends Behavior {
public function bindToClass ( $classname ) {
$old = $this->_bindedClass;
- $this->_bindedClass = $classname;
+ $this->_bindedClass = ltrim($classname, '\\');
return $old;
}