0
点赞
收藏
分享

微信扫一扫

每天laravel-20160714|AppNamespaceDetectorT


<?php

namespace Illuminate\Console;

use Illuminate\Container\Container;
// use namespace
trait AppNamespaceDetectorTrait
{
/**
* Get the application namespace.
*
* @return string
*/
protected function getAppNamespace()
{
return Container::getInstance()->getNamespace();// the method
}// Get the application namespace.
}// App Name Space Detector Trait


举报

相关推荐

0 条评论