diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-22 09:14:12 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2015-01-22 09:14:12 +0100 |
commit | 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch) | |
tree | e870d29e21c14d5b1683d638dff978afe0a104fa /framework/TApplicationComponent.php | |
parent | 53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff) |
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/TApplicationComponent.php')
-rw-r--r-- | framework/TApplicationComponent.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/TApplicationComponent.php b/framework/TApplicationComponent.php index da976549..855261a5 100644 --- a/framework/TApplicationComponent.php +++ b/framework/TApplicationComponent.php @@ -32,7 +32,7 @@ namespace Prado; * @package Prado * @since 3.0 */ -class TApplicationComponent extends TComponent +class TApplicationComponent extends \Prado\TComponent { /** * @return TApplication current application instance @@ -100,7 +100,7 @@ class TApplicationComponent extends TComponent { if($className===null) $className=get_class($this); - $class=new ReflectionClass($className); + $class=new \ReflectionClass($className); $fullPath=dirname($class->getFileName()).DIRECTORY_SEPARATOR.$assetPath; return $this->publishFilePath($fullPath); } |