File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/main/lib/engine/inlineaction.php
Back
<?php namespace Bitrix\Main\Engine; final class InlineAction extends Action { /** * @var string */ protected $methodName; /** * InlineAction constructor. * * @param string $name * @param Controller $controller * @param array $config */ public function __construct($name, Controller $controller, $config = array()) { $this->methodName = $controller->generateActionMethodName($name); parent::__construct($name, $controller, $config); } protected function buildBinder() { if ($this->binder === null) { $controller = $this->getController(); $this->binder = AutoWire\ControllerBinder::buildForMethod($controller, $this->methodName) ->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.26 |
proxy
|
phpinfo
|
Settings