File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/main/lib/engine/closureaction.php
Back
<?php namespace Bitrix\Main\Engine; final class ClosureAction extends Action { /** * @var callable */ protected $callable; /** * ClosureAction constructor. * * @param string $name * @param Controller $controller * @param callable $callable * @param array $config */ public function __construct($name, Controller $controller, $callable, $config = array()) { $this->callable = $callable; parent::__construct($name, $controller, $config); } protected function buildBinder() { if ($this->binder === null) { $controller = $this->getController(); $this->binder = AutoWire\ControllerBinder::buildForFunction($this->callable) ->setController($controller) ->setSourcesParametersToMap($controller->getSourceParametersList()) ->setAutoWiredParameters( array_filter(array_merge( [$controller->getPrimaryAutoWiredParameter()], $controller->getAutoWiredParameters() )) ) ; } return $this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings