/** * 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'}()); } }
/** * Bind all of the application paths in the container. * * @return void */ protected function bindPathsInContainer() { parent::bindPathsInContainer(); $this->instance('path.vendor', $this->vendorPath()); }