Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
fluentform
/
vendor
/
wpfluent
/
framework
/
src
/
WPFluent
/
Foundation
:
Config.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace FluentForm\Framework\Foundation; use FluentForm\Framework\Support\Arr; class Config { protected $data = null; public function __construct($data) { $this->data = $data; } public function all() { return $this->get(); } public function get($key = null, $default = null) { return $key ? Arr::get($this->data, $key, $default) : $this->data; } public function set($key, $value) { Arr::set($this->data, $key, $value); } }