06.10.2016 Views

laravel-5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Helper Functions 379<br />

config_path() {#collection-method}<br />

The config_path function returns the fully qualified path to the application configuration directory:<br />

1 $path = config_path();<br />

database_path() {#collection-method}<br />

The database_path function returns the fully qualified path to the application’s database directory:<br />

1 $path = database_path();<br />

elixir() {#collection-method}<br />

The elixir function gets the path to the versioned Elixir file:<br />

1 elixir($file);<br />

public_path() {#collection-method}<br />

The public_path function returns the fully qualified path to the public directory:<br />

1 $path = public_path();<br />

resource_path() {#collection-method}<br />

The resource_path function returns the fully qualified path to the resources directory:<br />

1 $path = resource_path();

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!