Example #1
0
 /**
  * Bind all of the application paths in the container.
  *
  * @return void
  */
 protected function bindPathsInContainer()
 {
     parent::bindPathsInContainer();
     foreach (['plugins', 'themes', 'temp'] as $path) {
         $this->instance('path.' . $path, $this->{$path . 'Path'}());
     }
 }
Example #2
0
 /**
  * Bind all of the application paths in the container.
  *
  * @return void
  */
 protected function bindPathsInContainer()
 {
     parent::bindPathsInContainer();
     $this->instance('path.vendor', $this->vendorPath());
 }