Results of 1 - 10 of about 85 for getType (0.002 sec.)
- ReflectionParameter::getType — 引数の型を取得する | PHP 8.3 11404
- ReflectionParameter::getType (PHP 7, PHP 8) ReflectionParameter::getType — 引数の型を取得する 説明 public function ReflectionParameter::getType (): ? ReflectionType 引数の型を取得します。 パラメータ この関数にはパラメータはありません。 戻り
... れば ReflectionType オブジェクトを返します。 そうでなければ null を返します。 例 例1 PHP 7.1.0 以降での ReflectionParameter::getType() の使い方 PHP 7.1.0 以降では、 ReflectionType::__toString() が推奨されなくなったので、 ReflectionParameter::getType() は ... ( 'someFunction' ); $reflectionParams = $reflectionFunc -> getParameters (); $reflectionType1 = $reflectionParams [ 0 ]-> getType (); $reflectionType2 = $reflectionParams [ 1 ]-> getType (); assert ( $reflectionType1 instanceof ReflectionNamedType ); e ... OL ; var_dump ( $reflectionType2 ); ?> 上の例の出力は以下となります。 int NULL 例2 PHP 7.1.0 より前の ReflectionParameter::getType() の使い方 <?php function someFunction ( int $param , $param2 ) {} $reflectionFunc = new ReflectionFunction ( 'someFunctio ...
-
https://man.mtool.work/php/8.3/reflectionparameter.gettype.html
- The MongoDB\Driver\ServerDescription class | PHP 8.3 10877
- The MongoDB\Driver\ServerDescription class (mongodb >=1.13.0) はじめに The MongoDB\Driver\ServerDescription class is a value object that represents a server to which the driver is connected. Instances of this class are returned by MongoDB\D
... eTime (): int final public function getPort (): int final public function getRoundTripTime (): ? int final public function getType (): string } 定義済み定数 MongoDB\Driver\ServerDescription::TYPE_UNKNOWN Unknown server type, returned by MongoDB\Driver\S ... erverDescription::getType() . MongoDB\Driver\ServerDescription::TYPE_STANDALONE Standalone server type, returned by MongoDB\Driver\ServerDescription ... ::getType() . MongoDB\Driver\ServerDescription::TYPE_MONGOS Mongos server type, returned by MongoDB\Driver\ServerDescription::getTyp ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-serverdescription.html
- The MongoDB\Driver\TopologyDescription class | PHP 8.3 10012
- The MongoDB\Driver\TopologyDescription class (mongodb >=1.13.0) はじめに The MongoDB\Driver\TopologyDescription class is a value object that represents a topology to which the driver is connected. Instances of this class are returned by Mon
... ring TYPE_LOAD_BALANCED = "LoadBalanced" ; /* メソッド */ final public function getServers (): array final public function getType (): string final public function hasReadableServer ( ? MongoDB\Driver\ReadPreference $readPreference = null ): bool final ... 定数 MongoDB\Driver\TopologyDescription::TYPE_UNKNOWN Unknown topology type, returned by MongoDB\Driver\TopologyDescription::getType() . MongoDB\Driver\TopologyDescription::TYPE_SINGLE Single server (i.e. direct connection), returned by MongoDB\Driver\Top ... ologyDescription::getType() . MongoDB\Driver\TopologyDescription::TYPE_SHARDED Sharded cluster, returned by MongoDB\Driver\TopologyDescription::getT ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-topologydescription.html
- The MongoDB\Driver\Server class | PHP 8.3 9809
- The MongoDB\Driver\Server class (mongodb >=1.0.0) はじめに クラス概要 final class MongoDB\Driver\Server { /* 定数 */ const int TYPE_UNKNOWN = 0 ; const int TYPE_STANDALONE = 1 ; const int TYPE_MONGOS = 2 ; const int TYPE_POSSIBLE_PRIMARY =
... on getServerDescription (): MongoDB\Driver\ServerDescription final public function getTags (): array final public function getType (): int final public function isArbiter (): bool final public function isHidden (): bool final public function isPassive ( ... ondary (): bool } 定義済み定数 MongoDB\Driver\Server::TYPE_UNKNOWN Unknown server type, returned by MongoDB\Driver\Server::getType() . MongoDB\Driver\Server::TYPE_STANDALONE Standalone server type, returned by MongoDB\Driver\Server::getType() . MongoDB\ ... Driver\Server::TYPE_MONGOS Mongos server type, returned by MongoDB\Driver\Server::getType() . MongoDB\Driver\Server::TYPE_POSSIBLE_PRIMARY Replica set possible primary server type, returned by MongoDB\Driver\Serv ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-server.html
- SplFileInfo::getType — ファイルタイプを取得する | PHP 8.3 9431
- SplFileInfo::getType (PHP 5 >= 5.1.2, PHP 7, PHP 8) SplFileInfo::getType — ファイルタイプを取得する 説明 public function SplFileInfo::getType (): string | false 参照するファイルの型を返します。 パラメータ この関数にはパラメータはありません。
... れかとなります。 失敗時に false を返します。 エラー / 例外 エラー時に RuntimeException をスローします。 例 例1 SplFileInfo::getType() の例 <?php $info = new SplFileInfo ( __FILE__ ); echo $info -> getType (). PHP_EOL ; $info = new SplFileInfo ( dirname ( ... __FILE__ )); echo $info -> getType (); ?> 上の例の出力は、 たとえば以下のようになります。 file dir 他のマニュアルの関連ページ Linux JM namei(1) Vim index Lin ...
-
https://man.mtool.work/php/8.3/splfileinfo.gettype.html
- Yar_Client_Exception::getType — Retrieve exception's type | PHP 8.3 9323
- Yar_Client_Exception::getType (PECL yar >= 1.0.0) Yar_Client_Exception::getType — Retrieve exception's type 説明 public function Yar_Client_Exception::getType (): string Returns the type of the exception. Client-side exceptions are raised b
... ants. パラメータ この関数にはパラメータはありません。 戻り値 Returns "Yar_Exception_Client" . 例 例1 Yar_Client_Exception::getType() example <?php $client = new Yar_Client ( "http://api.example.com/operator.php" ); try { $client -> some_method ( "parame ... ter" ); } catch ( Yar_Client_Exception $e ) { var_dump ( $e -> getType ()); var_dump ( $e -> getCode ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(20) "Yar_Exception_Client" ... int(16) 参考 Yar_Server_Exception::getType() - Retrieve exception's type 他のマニュアルの関連ページ FastAPI Exceptions DuckDB Installing the Python Client DuckDB Emb ...
-
https://man.mtool.work/php/8.3/yar-client-exception.gettype.html
- MongoDB\BSON\Binary::getType — Returns the Binary's type | PHP 8.3 9161
- MongoDB\BSON\Binary::getType (mongodb >=1.0.0) MongoDB\BSON\Binary::getType — Returns the Binary's type 説明 final public function MongoDB\BSON\Binary::getType (): int パラメータ この関数にはパラメータはありません。 戻り値 Returns the Binar
... ラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 例 例1 MongoDB\BSON\Binary::getType() example <?php $binary = new MongoDB\BSON\Binary ( 'foo' , MongoDB\BSON\Binary :: TYPE_GENERIC ); var_dump ( $binary -> g ...
-
https://man.mtool.work/php/8.3/mongodb-bson-binary.gettype.html
- IntlCalendar::getType — カレンダーのタイプを取得する | PHP 8.3 9053
- IntlCalendar::getType (PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1) IntlCalendar::getType — カレンダーのタイプを取得する 説明 オブジェクト指向型 public function IntlCalendar::getType (): string 手続き型 function intlcal_get_type ( IntlCal
... 戻り値 カレンダーのタイプを示す文字列を返します。 たとえば 'gregorian' , 'islamic' のようなものです。 例 例1 IntlCalendar::getType() <?php ini_set ( 'date.timezone' , 'Europe/Lisbon' ); ini_set ( 'intl.default_locale' , 'en_US' ); $cal = IntlCalendar :: ... createInstance ( NULL , '@calendar=ethiopic-amete-alem' ); var_dump ( $cal -> getType ()); $cal = new IntlGregorianCalendar (); var_dump ( $cal -> getType ()); 上の例の出力は以下となります。 string(19) "ethio ...
-
https://man.mtool.work/php/8.3/intlcalendar.gettype.html
- Yar_Server_Exception::getType — Retrieve exception's type | PHP 8.3 9053
- Yar_Server_Exception::getType (PECL yar >= 1.0.0) Yar_Server_Exception::getType — Retrieve exception's type 説明 public function Yar_Server_Exception::getType (): string | int When a remote method throws an exception, the server embeds the
... mote service, or "Yar_Exception_Server" when the server-side exception carried no class name. 例 例1 Yar_Server_Exception::getType() example <?php /* Server.php */ class Custom_Exception extends Exception {}; class API { public function throw_exception ... com/operator.php" ); try { $client -> throw_exception ( "client" ); } catch ( Yar_Server_Exception $e ) { var_dump ( $e -> getType ()); var_dump ( $e -> getMessage ()); } ?> 上の例の出力は、 たとえば以下のようになります。 string(16) "Custom_Exception" s ... tring(6) "client" 参考 Yar_Client_Exception::getType() - Retrieve exception's type 他のマニュアルの関連ページ DuckDB Troubleshooting Quack DuckDB Python Function API Python as ...
-
https://man.mtool.work/php/8.3/yar-server-exception.gettype.html
- ReflectionProperty::getType — プロパティの型を取得する | PHP 8.3 8999
- ReflectionProperty::getType (PHP 7 >= 7.4.0, PHP 8) ReflectionProperty::getType — プロパティの型を取得する 説明 public function ReflectionProperty::getType (): ? ReflectionType プロパティに関連付けられた型を取得する パラメータ この関数にはパ
... り値 プロパティが型を持っていれば、 ReflectionType を返します。そうでなければ、 null を返します。 例 例1 ReflectionProperty::getType() の例 <?php class User { public string $name ; } $rp = new ReflectionProperty ( 'User' , 'name' ); echo $rp -> getType () ...
-
https://man.mtool.work/php/8.3/reflectionproperty.gettype.html