X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/vendor/illuminate/support
home
/
gfecatvj
/
sites
/
vendor
/
illuminate
/
support
/
📁
..
📄
AggregateServiceProvider.php
(995 B)
📄
Arr.php
(15.7 KB)
📄
Carbon.php
(115 B)
📄
Collection.php
(31.57 KB)
📄
Composer.php
(2.33 KB)
📄
ConfigurationUrlParser.php
(4.23 KB)
📄
DateFactory.php
(7.83 KB)
📄
Enumerable.php
(21.56 KB)
📄
Env.php
(2.63 KB)
📁
Facades
📄
Fluent.php
(3.79 KB)
📄
HigherOrderCollectionProxy.php
(1.38 KB)
📄
HigherOrderTapProxy.php
(665 B)
📄
HigherOrderWhenProxy.php
(1.28 KB)
📄
HtmlString.php
(877 B)
📄
InteractsWithTime.php
(1.55 KB)
📄
LICENSE.md
(1.05 KB)
📄
LazyCollection.php
(31.83 KB)
📄
Manager.php
(3.98 KB)
📄
MessageBag.php
(9.52 KB)
📄
NamespacedItemResolver.php
(3.19 KB)
📄
Optional.php
(2.58 KB)
📄
Pluralizer.php
(3.13 KB)
📄
ProcessUtils.php
(2 KB)
📄
Reflector.php
(1.34 KB)
📄
ServiceProvider.php
(9.29 KB)
📄
Str.php
(17.95 KB)
📄
Stringable.php
(15.12 KB)
📁
Testing
📁
Traits
📄
ViewErrorBag.php
(2.56 KB)
📄
composer.json
(1.5 KB)
📄
helpers.php
(13.22 KB)
Editing: Composer.php
<?php namespace Illuminate\Support; use Illuminate\Filesystem\Filesystem; use Symfony\Component\Process\PhpExecutableFinder; use Symfony\Component\Process\Process; class Composer { /** * The filesystem instance. * * @var \Illuminate\Filesystem\Filesystem */ protected $files; /** * The working path to regenerate from. * * @var string|null */ protected $workingPath; /** * Create a new Composer manager instance. * * @param \Illuminate\Filesystem\Filesystem $files * @param string|null $workingPath * @return void */ public function __construct(Filesystem $files, $workingPath = null) { $this->files = $files; $this->workingPath = $workingPath; } /** * Regenerate the Composer autoloader files. * * @param string|array $extra * @return void */ public function dumpAutoloads($extra = '') { $extra = $extra ? (array) $extra : []; $command = array_merge($this->findComposer(), ['dump-autoload'], $extra); $this->getProcess($command)->run(); } /** * Regenerate the optimized Composer autoloader files. * * @return void */ public function dumpOptimized() { $this->dumpAutoloads('--optimize'); } /** * Get the composer command for the environment. * * @return array */ protected function findComposer() { if ($this->files->exists($this->workingPath.'/composer.phar')) { return [$this->phpBinary(), 'composer.phar']; } return ['composer']; } /** * Get the PHP binary. * * @return string */ protected function phpBinary() { return ProcessUtils::escapeArgument((new PhpExecutableFinder)->find(false)); } /** * Get a new Symfony process instance. * * @param array $command * @return \Symfony\Component\Process\Process */ protected function getProcess(array $command) { return (new Process($command, $this->workingPath))->setTimeout(null); } /** * Set the working path used by the class. * * @param string $path * @return $this */ public function setWorkingPath($path) { $this->workingPath = realpath($path); return $this; } }
Upload File
Create Folder