5 Star 15 Fork 9

Gitee 极速下载 / Yaf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/laruence/yaf
克隆/下载
yaf_config.stub.php 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
惠新宸 提交于 2021-12-10 17:12 . Fixed signature
<?php
/** @generate-legacy-arginfo */
abstract class Yaf_Config_Abstract implements \Iterator, \Traversable, \ArrayAccess, \Countable {
/* constants */
/* properties */
protected ?array $_config = NULL;
protected bool $_readonly = 0;
/* methods */
public function count():int { }
public function rewind():void { }
public function current():mixed { }
public function next():void { }
public function valid():bool { }
public function key():int|string|null|bool { }
/* @tentative-return-type */
public function __isset(string $name):bool {}
public function __get(string $name):mixed {}
/**
* @implementation-alias Yaf_Config_Abstract::get
*/
public function offsetGet(mixed $name):mixed {}
/**
* @implementation-alias Yaf_Config_Abstract::set
*/
public function offsetSet(mixed $name, mixed $value):void {}
public function offsetUnSet(mixed $name):void {}
/**
* @implementation-alias Yaf_Config_Abstract::__isset
*/
public function offsetExists(mixed $name):bool {}
abstract public function get(?string $name = NULL):mixed;
abstract public function set(string $name, mixed $value):bool;
abstract public function readonly():bool;
abstract public function toArray():array;
}
final class Yaf_Config_Simple extends Yaf_Config_Abstract implements \Iterator, \Traversable, \ArrayAccess, \Countable {
/* constants */
/* properties */
/* methods */
public function __construct(array|string $config_file, ?string $section = NULL) {}
public function __isset(string $name):bool {}
public function __set(string $name, mixed $value):void {}
public function get(?string $name = NULL):mixed {}
public function set(string $name, mixed $value):bool {}
public function readonly():bool {}
/** @implementation-alias Yaf_Config_Simple::get */
public function offsetGet(mixed $name):mixed {}
/** @implementation-alias Yaf_Config_Simple::set */
public function offsetSet(mixed $name, mixed $value):void {}
public function offsetUnSet(mixed $name):void {}
}
final class Yaf_Config_Ini extends Yaf_Config_Abstract implements \Iterator, \Traversable, \ArrayAccess, \Countable {
/* constants */
/* properties */
protected bool $_readonly = 1;
/* methods */
public function __construct(array|string $config_file, ?string $section = NULL) {}
public function __isset(string $name):bool {}
public function get(?string $name = NULL):mixed {}
public function set(string $name, mixed $value):bool {}
public function readonly():bool {}
/** @implementation-alias Yaf_Config_Ini::get */
public function offsetGet(mixed $name):mixed {}
/** @implementation-alias Yaf_Config_Ini::set */
public function offsetSet(mixed $name, mixed $value):void {}
public function __set(mixed $name, mixed $value):void {}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/Yaf1.git
git@gitee.com:mirrors/Yaf1.git
mirrors
Yaf1
Yaf
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891