Results of 1 - 3 of about 3 for traverse (0.001 sec.)
- Yaconf::get — Retrieve a configuration value by name | PHP 8.3 11905
- Yaconf::get (PECL yaconf >= 1.0.0) Yaconf::get — Retrieve a configuration value by name 説明 public static function Yaconf::get ( string $name , mixed $default = null ): mixed Retrieves the configuration value stored under name . Names use
... dot notation to traverse nested keys: "app" addresses the whole parsed app.ini file, "app.name" a key inside it, and since Yaconf 1.2.0 "users.data ... dot notation supports up to 64 levels of nesting. パラメータ name The configuration name to look up, using dot notation to traverse nested keys, for example "app.name" , "app.features.1" or, since Yaconf 1.2.0, "users.database.master" for files in sub-di ... Yaconf::get() example <?php // fetch a whole parsed file as an array var_dump ( Yaconf :: get ( "app" )); // dot notation traverses nested keys var_dump ( Yaconf :: get ( "app.name" )); // string(4) "shop" var_dump ( Yaconf :: get ( "app.features.1" )); ...
-
https://man.mtool.work/php/8.3/yaconf.get.html
- Yaconf::has — Check whether a configuration value exists | PHP 8.3 8222
- Yaconf::has (PECL yaconf >= 1.0.0) Yaconf::has — Check whether a configuration value exists 説明 public static function Yaconf::has ( string $name ): bool Determines whether a configuration value exists under name , which uses the same dot
... rs.database.master" for files in sub-directories. パラメータ name The configuration name to look up, using dot notation to traverse nested keys, for example "app.name" or "users.database.master" . 戻り値 Returns true if a configuration value exists at na ...
-
https://man.mtool.work/php/8.3/yaconf.has.html
- Traversable インターフェイス | PHP 8.3 7757
- Traversable インターフェイス (PHP 5, PHP 7, PHP 8) はじめに そのクラスの中身が foreach を使用してたどれるかどうかを検出するインターフェイスです。 これは抽象インターフェイスであり、単体で実装することはできません。 IteratorAggregate あるいは
... を実装しなければなりません。 インターフェイス概要 interface Traversable { } このインターフェイスにはメソッドがありません。 traverse 可能なすべてのクラス用の基底インターフェイスとしてのみ存在しています。 変更履歴 バージョン 説明 8.0.0 Traversable インター ...
-
https://man.mtool.work/php/8.3/class.traversable.html
PREV
1
NEXT