DetectsApplicationNamespace.php 306B

12345678910111213141516171819
  1. <?php
  2. namespace Illuminate\Console;
  3. use Illuminate\Container\Container;
  4. trait DetectsApplicationNamespace
  5. {
  6. /**
  7. * Get the application namespace.
  8. *
  9. * @return string
  10. */
  11. protected function getAppNamespace()
  12. {
  13. return Container::getInstance()->getNamespace();
  14. }
  15. }