src/Core/Config/Configurable.php
public function set_stat($name, $value)
    {
        Deprecation::notice('5.0', 'Use ->config()->set()');
        $this->config()->set($name, $value);
        return $this;
    }
public function set_stat($name, $value)
    {
        Deprecation::notice('5.0', 'Use ->config()->set()');
        $this->config()->set($name, $value);
        return $this;
    }
public function set_stat ( $ name , $ value ) { Deprecation :: notice ( '5.0' , 'Use ->config()->set()' ) ; $ this -> config ( ) -> set ( $ name , $ value ) ; return $ this ; }
Update the config value for a given property

@deprecated 5.0 Use ->config()->set() instead
@param string $name
@param mixed $value
@return $this
Update the config value for a given property