Results of 1 - 10 of about 842 for final (0.004 sec.)
- finalキーワード | PHP 8.3 5598
- finalキーワード キーワード final を前に付けて定義されたメソッドやプロパティ、定数は、子クラスからオーバーライドできません。 クラス自体がfinalと定義された場合には、このクラスを拡張することはできません。 例1 finalメソッドの例 <?php class Base
... Class { public function test () { echo "BaseClass::test() called\n" ; } final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends BaseClass { publi ... c function moreTesting () { echo "ChildClass::moreTesting() called\n" ; } } // Results in Fatal error: Cannot override final method BaseClass::moreTesting() ?> 例2 finalクラスの例 <?php final class BaseClass { public function test () { echo "BaseC ... lass::test() called\n" ; } // As the class is already final, the final keyword is redundant final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } clas ...
-
https://man.mtool.work/php/8.3/language.oop5.final.html
- The MongoDB\BSON\Document class | PHP 8.3 5382
- The MongoDB\BSON\Document class (mongodb >=1.16.0) はじめに Represents a BSON document. This class is used when reading data as raw BSON and cannot be modified. クラス概要 final class MongoDB\BSON\Document implements MongoDB\BSON\Type , Arr
... ayAccess , IteratorAggregate { /* メソッド */ final private function __construct () final static public function fromBSON ( string $bson ): MongoDB\BSON\Document final static ... public function fromJSON ( string $json ): MongoDB\BSON\Document final static public function fromPHP ( object | array $value ): MongoDB\BSON\Document final public function get ( string $key ): ... mixed final public function getIterator (): MongoDB\BSON\Iterator final public function has ( string $key ): bool final public functio ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-document.html
- The MongoDB\Driver\Session class | PHP 8.3 5362
- The MongoDB\Driver\Session class (mongodb >=1.4.0) はじめに The MongoDB\Driver\Session class represents a client session and is returned by MongoDB\Driver\Manager::startSession() . Commands, queries, and write operations may then be associa
... ted with the session. クラス概要 final class MongoDB\Driver\Session { /* 定数 */ const string TRANSACTION_NONE = none ; const string TRANSACTION_STARTING = start ... in_progress ; const string TRANSACTION_COMMITTED = committed ; const string TRANSACTION_ABORTED = aborted ; /* メソッド */ final public function abortTransaction (): void final public function advanceClusterTime ( array | object $clusterTime ): void f ... inal public function advanceOperationTime ( MongoDB\BSON\TimestampInterface $operationTime ): void final public function commitTransaction (): void final private function __construct () final public function endSession (): void ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-session.html
- The MongoDB\BSON\PackedArray class | PHP 8.3 5342
- The MongoDB\BSON\PackedArray class (mongodb >=1.16.0) はじめに Represents a BSON array. This class is used when reading data as raw BSON and cannot be modified. クラス概要 final class MongoDB\BSON\PackedArray implements MongoDB\BSON\Type ,
... ArrayAccess , IteratorAggregate { /* メソッド */ final private function __construct () final static public function fromJSON ( string $json ): MongoDB\BSON\PackedArray final sta ... tic public function fromPHP ( array $value ): MongoDB\BSON\PackedArray final public function get ( int $key ): mixed final public function getIterator (): MongoDB\BSON\Iterator final public function ... has ( int $index ): bool final public function offsetExists ( mixed $key ): bool final public function offsetGet ( mixed $key ): mixed final public funct ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-packedarray.html
- The MongoDB\Driver\Manager class | PHP 8.3 5323
- The MongoDB\Driver\Manager class (mongodb >=1.0.0) はじめに The MongoDB\Driver\Manager is the main entry point to the extension. It is responsible for maintaining connections to MongoDB (be it standalone server, replica set, or sharded clus
... of the script. It is therefore important that all actions on the Manager to be wrapped in try/catch statements. クラス概要 final class MongoDB\Driver\Manager { /* メソッド */ final public function addSubscriber ( MongoDB\Driver\Monitoring\Subscriber $ ... subscriber ): void final public function __construct ( ? string $uri = null , ? array $uriOptions = null , ? array $driverOptions = null ) final pu ... blic function createClientEncryption ( array $options ): MongoDB\Driver\ClientEncryption final public function executeBulkWrite ( string $namespace , MongoDB\Driver\BulkWrite $bulk , ? array $options = null ): MongoDB ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-manager.html
- The MongoDB\Driver\Server class | PHP 8.3 5323
- 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 =
... RBITER = 6 ; const int TYPE_RS_OTHER = 7 ; const int TYPE_RS_GHOST = 8 ; const int TYPE_LOAD_BALANCER = 9 ; /* メソッド */ final private function __construct () final public function executeBulkWrite ( string $namespace , MongoDB\Driver\BulkWrite $bul ... k , ? array $options = null ): MongoDB\Driver\WriteResult final public function executeBulkWriteCommand ( MongoDB\Driver\BulkWriteCommand $bulk , ? array $options = null ): MongoDB\Drive ... r\BulkWriteCommandResult final public function executeCommand ( string $db , MongoDB\Driver\Command $command , ? array $options = null ): MongoDB\Driver\ ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-server.html
- V8JsException クラス | PHP 8.3 5303
- V8JsException クラス (PECL v8js >= 0.1.0) はじめに クラス概要 class V8JsException extends Exception { /* プロパティ */ protected $ JsFileName ; protected $ JsLineNumber ; protected $ JsSourceLine ; protected $ JsTrace ; /* 継承したプロパティ
... g $ file = "" ; protected int $ line ; private array $ trace = [] ; private ? Throwable $ previous = null ; /* メソッド */ final public function getJsFileName (): string final public function getJsLineNumber (): int final public function getJsSourceLi ... ne (): string final public function getJsTrace (): string /* 継承したメソッド */ final public function Exception::getMessage (): string final ... public function Exception::getPrevious (): ? Throwable final public function Exception::getCode (): int final public function Exception::getFile (): string final public function Excep ...
-
https://man.mtool.work/php/8.3/class.v8jsexception.html
- The MongoDB\Driver\BulkWriteCommandResult class | PHP 8.3 5237
- The MongoDB\Driver\BulkWriteCommandResult class (mongodb >=2.1.0) はじめに The MongoDB\Driver\BulkWriteCommandResult class encapsulates information about an executed MongoDB\Driver\BulkWriteCommand and is returned by MongoDB\Driver\Manager:
... :executeBulkWriteCommand() . クラス概要 final class MongoDB\Driver\BulkWriteCommandResult { /* メソッド */ final public function getDeletedCount (): int final public fu ... nction getDeleteResults (): ? MongoDB\BSON\Document final public function getInsertedCount (): int final public function getInsertResults (): ? MongoDB\BSON\Document final public f ... unction getMatchedCount (): int final public function getModifiedCount (): int final public function getUpdateResults (): ? MongoDB\BSON\Document final public f ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-bulkwritecommandresult.html
- The MongoDB\Driver\Monitoring\CommandFailedEvent class | PHP 8.3 5040
- The MongoDB\Driver\Monitoring\CommandFailedEvent class (mongodb >=1.3.0) はじめに The MongoDB\Driver\Monitoring\CommandFailedEvent class encapsulates information about a failed command. クラス概要 final class MongoDB\Driver\Monitoring\Comma
... uestId ; public readonly ? MongoDB\BSON\ObjectId $ serviceId ; public readonly ? int $ serverConnectionId ; /* メソッド */ final public function getCommandName (): string final public function getDatabaseName (): string final public function getDurati ... onMicros (): int final public function getError (): Exception final public function getHost (): string final public function getOperationId (): s ... tring final public function getPort (): int final public function getReply (): object final public function getRequestId (): string fi ...
-
https://man.mtool.work/php/8.3/class.mongodb-driver-monitoring-commandfailedeven...
- SolrModifiableParams クラス | PHP 8.3 5021
- SolrModifiableParams クラス (PECL solr >= 0.9.2) はじめに リクエスト中に Solr サーバーに送信される名前と値のペアの集合を表現します。 クラス概要 class SolrModifiableParams extends SolrParams implements Serializable { /* メソッド */ public fu
... nction __construct () public function __destruct () /* 継承したメソッド */ final public function SolrParams::add ( string $name , string $value ): SolrParams public function SolrParams::addParam ( string ... $name , string $value ): SolrParams final public function SolrParams::get ( string $param_name ): mixed final public function SolrParams::getParam ( string $param_n ... ame = ? ): mixed final public function SolrParams::getParams (): array final public function SolrParams::getPreparedParams (): array final public ...
-
https://man.mtool.work/php/8.3/class.solrmodifiableparams.html