PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
<?php namespace Illuminate\Database\Eloquent; /** * @mixin \Illuminate\Database\Eloquent\Builder */ class HigherOrderBuilderProxy { /** * The collection being operated on. * * @var \Illuminate\Database\Eloquent\Builder */ protected $builder; /** * The method being proxied. * * @var string */ protected $method; /** * Create a new proxy instance. * * @param \Illuminate\Database\Eloquent\Builder $builder * @param string $method * @return void */ public function __construct(Builder $builder, $method) { $this->method = $method; $this->builder = $builder; } /** * Proxy a scope call onto the query builder. * * @param string $method * @param array $parameters * @return mixed */ public function __call($method, $parameters) { return $this->builder->{$this->method}(function ($value) use ($method, $parameters) { return $value->{$method}(...$parameters); }); } }
[-] SoftDeletingScope.php
[edit]
[-] BroadcastableModelEventOccurred.php
[edit]
[-] Prunable.php
[edit]
[+]
Relations
[+]
Factories
[+]
..
[-] MassAssignmentException.php
[edit]
[-] RelationNotFoundException.php
[edit]
[-] Scope.php
[edit]
[-] SoftDeletes.php
[edit]
[-] JsonEncodingException.php
[edit]
[-] Model.php
[edit]
[-] MassPrunable.php
[edit]
[-] Builder.php
[edit]
[-] MissingAttributeException.php
[edit]
[-] BroadcastsEvents.php
[edit]
[-] ModelNotFoundException.php
[edit]
[-] InvalidCastException.php
[edit]
[-] HigherOrderBuilderProxy.php
[edit]
[+]
Casts
[+]
Concerns
[-] QueueEntityResolver.php
[edit]
[-] Collection.php
[edit]