3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Fundbay\Deals; use Illuminate\Support\ServiceProvider; class DealServiceProvider extends ServiceProvider { /** * @return void */ public function boot() { $this->bootObservers(); $this->bootViewComposers(); $this->registerPayloadEvents(); } /** * @return void */ public function registerPayloadEvents() { $this->app['events']->listen('dashboard.payload', 'Fundbay\Deals\Services\PayloadBuilder'); } /** * @return void */ protected function bootObservers() { Models\EloquentDealModel::observe(new Observers\DealStatusObserver($this->app['Fundbay\Authentication\Services\PermissionService'])); Models\EloquentAssetImageModel::observe(new Observers\ImageResizeObserver($this->app['queue'])); Models\EloquentMessageModel::observe($this->app->make('Fundbay\Deals\Observers\MessageMailerObserver')); Models\EloquentEvidenceRequestModel::observe($this->app->make('Fundbay\Deals\Observers\EvidenceRequestMailerObserver')); Models\EloquentOfferModel::observe($this->app->make('Fundbay\Deals\Observers\OfferMailerObserver')); Models\EloquentOfferModel::observe(new Observers\OfferStatusObserver($this->app['Fundbay\Authentication\Services\PermissionService'])); } /** * @return void */ protected function bootViewComposers() { /** @var \Illuminate\View\Factory $view */ $view = $this->app['view']; $view->composer('deals.partials.show', 'Fundbay\Deals\Composers\DealIndexShowComposer'); $view->composer('emails.deals.deal', 'Fundbay\Deals\Composers\DealIndexShowComposer'); $view->composer('deals.show', 'Fundbay\Deals\Composers\DealShowComposer'); $view->composer('deals.partials.details', 'Fundbay\Deals\Composers\DealShowDetailsComposer'); $view->composer('offers.partials.embed-item', 'Fundbay\Deals\Composers\OfferEmbedItemComposer'); } /** * Register the service provider. * * @return void */ public function register() { $this->registerRepositories(); $this->registerFormBuilders(); $this->registerServices(); $this->registerCommands(); } /** * @return void */ protected function registerRepositories() { $this->app->bind('Fundbay\Deals\Repositories\DealRepositoryInterface', function() { return new Repositories\EloquentDealRepository(new Models\EloquentDealModel, new Validators\DealValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\ContactRepositoryInterface', function() { return new Repositories\EloquentContactRepository(new Models\EloquentContactModel, new Validators\ContactValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\AssetRepositoryInterface', function() { return new Repositories\EloquentAssetRepository(new Models\EloquentAssetModel, new Validators\AssetValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\LoanRepositoryInterface', function() { return new Repositories\EloquentLoanRepository(new Models\EloquentLoanModel, new Validators\LoanValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\LoanPurposeRepositoryInterface', function() { return new Repositories\EloquentLoanPurposeRepository(new Models\EloquentLoanPurposeModel, new Validators\LoanPurposeValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\AssetOptionRepositoryInterface', function() { return new Repositories\EloquentAssetOptionRepository(new Models\EloquentAssetOptionModel, new Validators\AssetOptionValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\AssetImageRepositoryInterface', function() { return new Repositories\EloquentAssetImageRepository(new Models\EloquentAssetImageModel, new Validators\AssetImageValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\OfferRepositoryInterface', function() { return new Repositories\EloquentOfferRepository(new Models\EloquentOfferModel, new Validators\OfferValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\MessageRepositoryInterface', function() { return new Repositories\EloquentMessageRepository(new Models\EloquentMessageModel, new Validators\MessageValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\EvidenceRequirementRepositoryInterface', function() { return new Repositories\EloquentEvidenceRequirementRepository(new Models\EloquentEvidenceRequirementModel, new Validators\EvidenceRequirementValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\EvidenceRequiredRepositoryInterface', function() { return new Repositories\EloquentEvidenceRequiredRepository(new Models\EloquentEvidenceRequiredModel, new Validators\EvidenceRequiredValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\EvidenceRequiredFileRepositoryInterface', function() { return new Repositories\EloquentEvidenceRequiredFileRepository(new Models\EloquentEvidenceRequiredFileModel, new Validators\EvidenceRequiredFileValidator($this->app['validator'])); }); $this->app->bind('Fundbay\Deals\Repositories\EvidenceRequestRepositoryInterface', function() { return new Repositories\EloquentEvidenceRequestRepository(new Models\EloquentEvidenceRequestModel, new Validators\EvidenceRequestValidator($this->app['validator'])); }); } /** * @return void */ protected function registerServices() { Services\OfferService::setMinimum($this->app['config']->get('deals.offers.minimum')); $this->app->bindShared('Fundbay\Deals\Services\ImageResizeService', function() { $storage = $this->app->make('Fundbay\Deals\Services\AssetImages\StorageInterface'); return new Services\ImageResizeService($storage, $this->app['image'], $this->app['config']['images.sizes']); }); $this->app->bindShared('Fundbay\Deals\Services\AssetImages\StorageInterface', function() { $driver = $this->app['config']['images.driver']; $method = 'getAssetImageStorageDriver' . ucfirst($driver); $config = $this->app['config']['images.drivers'][$driver]; return $this->{$method}($config); }); $this->app->bind('Fundbay\Deals\Services\EvidenceFileManager', function() { return new Services\EvidenceFileManager( $this->app->make('Fundbay\Deals\Repositories\EvidenceRequiredFileRepositoryInterface'), $this->app->make('Fundbay\Deals\Repositories\EvidenceRequirementRepositoryInterface'), $this->app['path.evidence-requirements'] ); }); } /** * @return void */ protected function registerFormBuilders() { $form = new Html\FormMacros($this->app); $this->app->booted(function() use ($form) { $form->setAssetOptionRepository($this->app->make('Fundbay\Deals\Repositories\AssetOptionRepositoryInterface')); $this->app['form']->macro('assetOptions', [$form, 'assetOptions']); }); } /** * @param array $config * @return \Fundbay\Deals\Services\AssetImages\FilesystemStorage */ protected function getAssetImageStorageDriverFiles(array $config) { $instance = new Services\AssetImages\FilesystemStorage($this->app['files']); foreach ($config['folders'] as $name => $data) { if ('~' === $data['dir'][0]) { $data['dir'] = $this->app['path.base'] . substr($data['dir'], 1); } if ('~' === $data['uri'][0]) { $data['uri'] = $this->app['config']['app.url'] . substr($data['uri'], 1); } $instance->addSize($name, $data['dir'], $data['uri']); } return $instance; } /** * Register commands. */ protected function registerCommands() { $this->app['commands.deals.digest'] = function() { return $this->app->make(Commands\LenderDigestCommand::class); }; $this->commands('commands.deals.digest'); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_CLASS                                            'fundbay%5Cdeals%5Cdealserviceprovider', 'illuminate%5Csupport%5Cserviceprovider'
  211     1      > RETURN                                                   1

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A72%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   74     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentDealRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentDealModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CDealValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   75    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A72%240

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A76%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   78     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentContactRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentContactModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CContactValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   79    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A76%241

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A80%242:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   82     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentAssetRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentAssetModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CAssetValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   83    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A80%242

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A84%243:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   86     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentLoanRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentLoanModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CLoanValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   87    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A84%243

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A88%244:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   90     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentLoanPurposeRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentLoanPurposeModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CLoanPurposeValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   91    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A88%244

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A92%245:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   94     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentAssetOptionRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentAssetOptionModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CAssetOptionValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   95    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A92%245

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A96%246:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   98     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentAssetImageRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentAssetImageModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CAssetImageValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
   99    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A96%246

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A100%247:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  102     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentOfferRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentOfferModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5COfferValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
  103    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A100%247

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A104%248:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  106     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentMessageRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentMessageModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CMessageValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
  107    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A104%248

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A108%249:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  110     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentEvidenceRequirementRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentEvidenceRequirementModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CEvidenceRequirementValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
  111    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A108%249

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A112%24a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  114     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentEvidenceRequiredRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentEvidenceRequiredModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CEvidenceRequiredValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
  115    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A112%24a

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A116%24b:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  118     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentEvidenceRequiredFileRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentEvidenceRequiredFileModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CEvidenceRequiredFileValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
  119    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A116%24b

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A120%24c:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  122     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CRepositories%5CEloquentEvidenceRequestRepository'
          1        NEW                                              $1      'Fundbay%5CDeals%5CModels%5CEloquentEvidenceRequestModel'
          2        DO_FCALL                                      0          
          3        SEND_VAR_NO_REF_EX                                       $1
          4        NEW                                              $3      'Fundbay%5CDeals%5CValidators%5CEvidenceRequestValidator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_THIS                                       $4      
          7        FETCH_OBJ_FUNC_ARG                               $5      $4, 'app'
          8        FETCH_DIM_FUNC_ARG                               $6      $5, 'validator'
          9        SEND_FUNC_ARG                                            $6
         10        DO_FCALL                                      0          
         11        SEND_VAR_NO_REF_EX                                       $3
         12        DO_FCALL                                      0          
         13      > RETURN                                                   $0
  123    14*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A120%24c

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A133%24d:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  22
compiled vars:  !0 = $storage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  135     0  E >   FETCH_THIS                                       $1      
          1        FETCH_OBJ_R                                      ~2      $1, 'app'
          2        INIT_METHOD_CALL                                         ~2, 'make'
          3        SEND_VAL_EX                                              'Fundbay%5CDeals%5CServices%5CAssetImages%5CStorageInterface'
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !0, $3
  137     6        NEW                                              $5      'Fundbay%5CDeals%5CServices%5CImageResizeService'
          7        SEND_VAR_EX                                              !0
          8        CHECK_FUNC_ARG                                           
          9        FETCH_THIS                                       $6      
         10        FETCH_OBJ_FUNC_ARG                               $7      $6, 'app'
         11        FETCH_DIM_FUNC_ARG                               $8      $7, 'image'
         12        SEND_FUNC_ARG                                            $8
         13        CHECK_FUNC_ARG                                           
         14        FETCH_THIS                                       $9      
         15        FETCH_OBJ_FUNC_ARG                               $10     $9, 'app'
         16        FETCH_DIM_FUNC_ARG                               $11     $10, 'config'
         17        FETCH_DIM_FUNC_ARG                               $12     $11, 'images.sizes'
         18        SEND_FUNC_ARG                                            $12
         19        DO_FCALL                                      0          
         20      > RETURN                                                   $5
  138    21*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A133%24d

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A140%24e:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  22
compiled vars:  !0 = $driver, !1 = $method, !2 = $config
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  142     0  E >   FETCH_THIS                                       $3      
          1        FETCH_OBJ_R                                      ~4      $3, 'app'
          2        FETCH_DIM_R                                      ~5      ~4, 'config'
          3        FETCH_DIM_R                                      ~6      ~5, 'images.driver'
          4        ASSIGN                                                   !0, ~6
  143     5        INIT_NS_FCALL_BY_NAME                                    'Fundbay%5CDeals%5Cucfirst'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $8      
          8        CONCAT                                           ~9      'getAssetImageStorageDriver', $8
          9        ASSIGN                                                   !1, ~9
  144    10        FETCH_THIS                                       $11     
         11        FETCH_OBJ_R                                      ~12     $11, 'app'
         12        FETCH_DIM_R                                      ~13     ~12, 'config'
         13        FETCH_DIM_R                                      ~14     ~13, 'images.drivers'
         14        FETCH_DIM_R                                      ~15     ~14, !0
         15        ASSIGN                                                   !2, ~15
  145    16        FETCH_THIS                                       $17     
         17        INIT_METHOD_CALL                                         $17, !1
         18        SEND_VAR_EX                                              !2
         19        DO_FCALL                                      0  $18     
         20      > RETURN                                                   $18
  146    21*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A140%24e

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A148%24f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  150     0  E >   NEW                                              $0      'Fundbay%5CDeals%5CServices%5CEvidenceFileManager'
  151     1        FETCH_THIS                                       $1      
          2        FETCH_OBJ_R                                      ~2      $1, 'app'
          3        INIT_METHOD_CALL                                         ~2, 'make'
          4        SEND_VAL_EX                                              'Fundbay%5CDeals%5CRepositories%5CEvidenceRequiredFileRepositoryInterface'
          5        DO_FCALL                                      0  $3      
          6        SEND_VAR_NO_REF_EX                                       $3
  152     7        FETCH_THIS                                       $4      
          8        FETCH_OBJ_R                                      ~5      $4, 'app'
          9        INIT_METHOD_CALL                                         ~5, 'make'
         10        SEND_VAL_EX                                              'Fundbay%5CDeals%5CRepositories%5CEvidenceRequirementRepositoryInterface'
         11        DO_FCALL                                      0  $6      
         12        SEND_VAR_NO_REF_EX                                       $6
         13        CHECK_FUNC_ARG                                           
  153    14        FETCH_THIS                                       $7      
         15        FETCH_OBJ_FUNC_ARG                               $8      $7, 'app'
         16        FETCH_DIM_FUNC_ARG                               $9      $8, 'path.evidence-requirements'
         17        SEND_FUNC_ARG                                            $9
         18        DO_FCALL                                      0          
         19      > RETURN                                                   $0
  155    20*     > RETURN                                                   null

End of function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A148%24f

Function %00fundbay%5Cdeals%5C%7Bclosure%7D%2Fin%2FPsd22%3A165%2410:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Psd22
function name:  Fundbay\Deals\{closure}
number of ops:  19
compiled vars:  !0 = $form
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  165     0  E >   BIND_STATIC                                              !0
  167     1        INIT_METHOD_CALL                                         !0, 'setAssetOptionRepository'
          2        FETCH_THIS                                       $1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.93 ms | 1428 KiB | 15 Q