Pushes a list of values to a configuration key
Ex: $config->push('list', 'a', 'b', c')
@param string $name
@return \FluentConfiguration
178026
public function push($name) {
		$this->validateName($name);
		$obj = $this->preserveInstance ? $this : clone $this;
		$args = func_get_args();
		array_shift($args);
		if (empty($args))
			return 0;
		
		if (!array_key_exists($name, $obj->config))
			$obj->config[$name] = $args;
		else {
			if (!is_array($obj->config[$name]))
				$obj->config[$name] = [$obj->config[$name]];
			
			foreach($args as $arg)
				$obj->config[$name][] = $arg; //faster than array_push
		}
		
		return $obj;
	}
931256
public function setName($name)
    {
        if (null !== $name) {
            $this->name = (string) $name;
        } else {
            $this->name = $name;
        }

        return $this;
    }
536031
private function pushPipelineStep($name, $stepConfig) {
		$lastStep = $this->Steps()->sort("Order DESC")->first();
		$order = $lastStep ? $lastStep->Order + 1 : 1;
		return $this->generateStep($name, $stepConfig, $order);
	}
443122
protected function configuration($name)
	{
		$name = $name ?: $this->getDefaultConnection();

		// To get the database connection configuration, we will just pull each of the
		// connection configurations and get the configurations for the given name.
		// If the configuration doesn't exist, we'll throw an exception and bail.
		$connections = $this->prop['database.connections'];
		if (is_null($config = Arr::get($connections, $name)))
		{
			throw new InvalidArgumentException("Database [$name] not configured.");
		}

		return $config;
	}
786276
public function flushOption(string $name): Configurator
    {
        $this->validateName($name);

        if ($this->hasOption($name)) {
            unset($this->config[$name]);
        }

        return $this;
    }
1234888
protected static function _buildEngine($name)
    {
        $registry = static::registry();

        if (empty(static::$_config[$name]['className'])) {
            throw new InvalidArgumentException(
                sprintf('The "%s" queue configuration does not exist.', $name)
            );
        }

        $config = static::$_config[$name];
        $registry->load($name, $config);
    }
1217142
public function push($name, $value) {
        $_SESSION = Hash::insert($_SESSION, $name, $value);
        return $value;
    }
125172
private function configCommand(string $name) : Result
    {
        $cmd = (new Get($this->repo->getRoot()));
        $cmd->name($name);

        return $this->runner->run($cmd);
    }
818040
public function getConfig($name)
    {
        $setting = $this->settings;
        return isset($setting[$name]) ? $setting[$name] : null;
    }
732710
public static function consts($name)
    {
        $name = strtoupper($name) . '_';
        $constants = [];
        foreach ((new \ReflectionClass(static::class))->getConstants() as $cName => $cValue) {
            if (strpos($cName, $name) === 0) {
                $constants[$cValue] = strtolower(substr($cName, strlen($name)));
            }
        }

        if (!$constants) {
            throw new MisuseException(['starts with `:1` constants is not exists in `:2` model', $name, static::class]);
        }

        return $constants;
    }
668779
public function set_config($name, $value = null)
	{
		if (isset($this->config[$name])) $this->config[$name] = $value;

		return $this;
	}
885201
public function getManagerConfig($name)
	{
		if ($this->managerBag->has($name)) {
			$config = $this->managerBag->get($name);
			
			if (null === $config['template']) {
				$config['template'] = $this->defaultManagerConfig['template'];
			}
		} elseif (class_exists($name)) {
			$config = $this->defaultManagerConfig;
			$config['class'] = $name;
		} else {
			throw new \InvalidArgumentException(sprintf('The "%s" configuration key is not attached to a pagination manager.', $name));
		}
		
		return $config;
	}
128435
protected function createFluentDriver($name)
    {
        $config = Arr::get($this->config, "fluent.{$name}", []);
        $cache  = $this->getCacheRepository($config);

        return $this->createProvider(new Fluent($name, $config, $this->app->make('db'), $cache));
    }
1065434
public function extending($name)
    {
        if ( $name instanceof ConfigurationItem ) {
            $name = $name->getName();
        }
        $this->extend = $name;

        return $this;
    }
379685
protected function createFluentDriver(string $name): ProviderContract
    {
        $config = $this->config['fluent'][$name] ?? [];
        $cache = $this->getCacheRepository($config);

        return $this->createProvider(new Fluent($name, $config, $this->app->make('db'), $cache));
    }
762692
public function push($name, ...$element)
    {
        $result = true;
        foreach($element as $e)
        {
            $result &= $this->getInstance($name)->enqueue($e);
        }
        return $result;
    }
730155
public function getPushHandler($name)
    {
        if (!$this->hasPushHandler($name)) {
            throw new \InvalidArgumentException(sprintf('A push handler named "%s" has not been registered.', $name));
        }

        return $this->pushHandlers[$name];
    }