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: HigherOrderCollectionProxy.php
<?php namespace Illuminate\Support; /** * @mixin \Illuminate\Support\Enumerable */ class HigherOrderCollectionProxy { /** * The collection being operated on. * * @var \Illuminate\Support\Enumerable */ protected $collection; /** * The method being proxied. * * @var string */ protected $method; /** * Create a new proxy instance. * * @param \Illuminate\Support\Enumerable $collection * @param string $method * @return void */ public function __construct(Enumerable $collection, $method) { $this->method = $method; $this->collection = $collection; } /** * Proxy accessing an attribute onto the collection items. * * @param string $key * @return mixed */ public function __get($key) { return $this->collection->{$this->method}(function ($value) use ($key) { return is_array($value) ? $value[$key] : $value->{$key}; }); } /** * Proxy a method call onto the collection items. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->collection->{$this->method}(function ($value) use ($method, $parameters) { return $value->{$method}(...$parameters); }); } }
Upload File
Create Folder