X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fv0.0%2Fion.stub.php;h=5e389b41586229b306a69e28e8a5d05db3a3a896;hb=b372aaf7f0eeabb9d0e73d142039d5c062ca59c7;hp=15b60d306cb820dafa3119412dfc421245e3376a;hpb=2f22a7e0925e60ee94424e7d348aa569c966cf70;p=awesomized%2Fext-ion diff --git a/docs/v0.0/ion.stub.php b/docs/v0.0/ion.stub.php index 15b60d3..5e389b4 100644 --- a/docs/v0.0/ion.stub.php +++ b/docs/v0.0/ion.stub.php @@ -447,24 +447,6 @@ interface Table { public function findLocal(string|int $id) : ?\ion\Symbol; } -namespace ion\Symbol\Table; - -/** - * Get the built-in PHP shared symbol table. - * - * @see \ion\Symbol\Table\PHP - * @return \ion\Symbol\Table The builtin PHP shared symbol table. - */ -function PHP() : \ion\Symbol\Table {} - -/** - * Get the built-in ION system shared symbol table. - * - * @see \ion\Symbol\Table\System - * @return \ion\Symbol\Table The builtin ION system shared symbol table. - */ -function System() : \ion\Symbol\Table {} - /** * The built-in ION system symbols. */ @@ -485,6 +467,13 @@ enum System : string implements \ion\Symbol\Enum { public function toSID() : int {} /** @alias ion\Symbol\Enum::toString */ public function toString() : string {} + + /** + * Get the built-in ION system shared symbol table. + * + * @return Table\Shared The system symbol table. + */ + public static function asTable() : Table\Shared {} } /** @@ -508,8 +497,17 @@ enum PHP : string implements \ion\Symbol\Enum { public function toSID() : int {} /** @alias ion\Symbol\Enum::toString */ public function toString() : string {} + + /** + * Get the built-in PHP shared symbol table. + * + * @return Table\Shared The builtin PHP shared symbol table. + */ + public static function asTable() : Table\Shared {} } +namespace ion\Symbol\Table; + /** * A local symbol table. *