Cascade\Config\Loader\ClassLoader\Resolver\ConstructorResolver::initConstructorArgs PHP Метод

initConstructorArgs() публичный Метод

Convert the parameter names to camelCase for classes that have contructor params defined in snake_case for consistency with the options
public initConstructorArgs ( )
    public function initConstructorArgs()
    {
        $constructor = $this->reflected->getConstructor();
        if (!is_null($constructor)) {
            // Index parameters by their names
            foreach ($constructor->getParameters() as $param) {
                $name = Util::snakeToCamelCase($param->getName());
                $this->constructorArgs[$name] = $param;
            }
        }
    }