Setup the configuration.

@param array $parameters

@return ExpressionContainer
775587
public function setUp($parameters)
    {
        $expressions = new ExpressionContainer();
        foreach ($parameters as $param) {
            $charType = $this->buildCharType($param);
            $expressions->set($charType);
        }

        return $expressions;
    }
277980
private function prepareContext($parameters)
    {
        $new = array();
        foreach ($parameters as $name => $value) {
            if (is_array($value)) {
                $subNew = array();
                foreach ($value as $index => $subValue) {
                    $subNew[] = sprintf(
                        '<comment>%s</comment>: <comment>%s</comment>',
                        $index,
                        var_export($subValue, true)
                    );
                }
                $new[$name] = sprintf('[%s]', implode(', ', $subNew));

                continue;
            }
            if (!is_object($value) || method_exists($value, '__toString')) {
                $new[$name] = sprintf('<comment>%s</comment>', $value);

                continue;
            }

            $new[$name] = $value;
        }

        return $new;
    }
101449
public function withAddedQueryParameters(array $parameters)
    {
        $clone = clone $this;

        $clone->info['query'] = empty($clone->info['query']) ? $parameters : array_replace($clone->info['query'], $parameters);

        return $clone;
    }
1252940
public function setParametersAttribute(array $parameters)
    {
        $defaultParameters = $this->getDefaultParameters();
        $this->attributes['parameters'] = json_encode(
            array_merge($defaultParameters, $parameters)
        );
    }
12002
protected function addParameter(array $parameters)
    {
        foreach ($parameters as $paramName => $paramValue) {
            $parameter = new Parameter($paramName, $paramValue);
            $this->parameters->add($parameter);
        }
    }
1114113
public function setParameters(array $parameters, array $types = array())
    {
        foreach ($parameters as $parameter => $value) {
            if (isset($types[$parameter])) {
                $this->setParameter($parameter, $value, $types[$parameter]);
            } else {
                $this->setParameter($parameter, $value);
            }
        }

        return $this;
    }
222597
public function setParameters(array $parameters)
    {
        $this->storage = new \ArrayObject();
        foreach ($parameters as $parameterName => $parameterValue) {
            $this->setParameter($parameterName, $parameterValue);
        }

        return $this;
    }
1003930
public function getContainers(array $parameters = array())
    {
        $result = array();

        foreach ($this->getContainersInfo($parameters) as $info) {
            $result[] = new Container($this, $info['name'], $info['count'], $info['bytes']);
        }

        return $result;
    }
150675
public function with($parameters)
    {
        $this->parameters = array_merge($this->parameters, is_array($parameters) ? $parameters : func_get_args());

        return $this;
    }
198253
public function backup(array $parameters)
	{
		foreach ($parameters as $name)
		{
			$this->_backup[$name] = $this->group_for_name($name)->get($name);
		}
		return $this;
	}
547830
public function create($parameters)
    {
        return $this->update($this->repository->newEntity(), $parameters, Tokens::PERMISSION_CREATE);
    }
628261
public function create($parameters)
    {
        $this->checkParameters(CloudItemInterface::TYPE_FOLDER, FolderInterface::REQUIRED_PARAMETERS, $parameters);

        $folder = new Folder();
        $folder->setId($parameters['id'])
            ->setName($parameters['name'])
            ->setParentFolder($parameters['parentFolder'])
            ->setProvider($parameters['provider'])
        ;

        return $folder;
    }
301131
public function addConditions(...$parameters)
    {
        if (count($parameters) > 0) {
            if (is_array($parameters[0])) {
                foreach ($parameters as $parameter) {
                    $this->addConditions(...$parameter);
                }
            } else {
                if (!isset($parameters[2])) {
                    $parameters[2] = Comparison::determineComparison($parameters[1]);
                }
                
                $parameters[1] = is_array($parameters[1]) ? new Expr\Parameters($parameters[1]) : $parameters[1];
                $this->where(...$parameters);
            }
        }
        
        return $this;
    }
1304657
public function parameters(array $parameters)
    {
        foreach ($parameters as $parameter => $value) {
            if (property_exists($this->parameters, $parameter)) {
                $this->parameters->{$parameter} = $value;
            }
        }

        return $this;
    }
904374
public function initialize(array $parameters = array())
        {
            // set default parameters
            foreach ($this->getDefaultParameters() as $key => $value) {
                if (is_array($value)) {
                    $this->parameters->set($key, reset($value));
                } else {
                    $this->parameters->set($key, $value);
                }
            }
            $this->helper->initialize($this, $parameters);
            return $this;
        }
57495
public function setParameters(array $params)
    {
        foreach ($params as $name => $value) {
            $this->getParameterContainer()->add($name, $value);
        }
        return $this;
    }
1037804
public function make(string $abstract, array $parameters = [])
    {
        try {
            if (! isset($this->resolving[$abstract])) {
                $this->resolving[$abstract] = $this->construct($abstract);
            }

            return $this->resolving[$abstract]($abstract, $parameters);
        } catch (ReflectionException $e) {
            throw new ContainerException("Fail while attempt to make '$abstract'", 0, $e);
        }
    }