Laravel File Paths
Ad
I am using laravel 4.2. I am following this basic tutorial on how to build Laravel Commands. I want to know where laravel is defining or registering the file paths to. For e.g.
use Illuminate\Console\Command;
is actually refering to the path below
vendor\laravel\framework\src\Illuminate\Console\Command.php
I am new to laravel, If you could point me to the right direction it would greatly help me.
Ad
Answer
Ad
So I studied how it locates the file it was using. Then I found out it is using a namespace
. The book called CODE BRIGHT by Dayle Rees greatly helped me in understanding how namespacing
works. You can scroll down under the section called THE PRIMERS
where Dayle describes how it functions. It is easy to understand! Give it a try.
Ad
source: stackoverflow.com
Related Questions
Ad
- → "failed to open stream" error when executing "migrate:make"
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS create a multi select Form field
- → October CMS - Conditionally Load a Different Page
- → How to disable assets combining on development in OctoberCMS
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → OctoberCms component: How to display all ID(items) instead of sorting only one ID?
- → In OctoberCMS how do you find the hint path?
- → How to register middlewares in OctoberCMS plugin?
Ad