From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- framework/TApplicationComponent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/TApplicationComponent.php') 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); } -- cgit v1.2.3