« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 50 for Patch (0.002 sec.)
The Componere\Patch class | PHP 8.3 10858
The Componere\Patch class (Componere 2 >= 2.1.0) はじめに The Patch class allows the programmer to change the type of an instance at runtime without registering a new Definition When a Patch is destroyed it is reverted, so that instances th ... at were patched during the lifetime of the Patch are restored to their formal type. クラス概要 final class Componere\Patch extends Compo ... y (): void public function revert (): void public function isApplied (): bool public function derive ( object $instance ): Patch public function getClosure ( string $name ): Closure public function getClosures (): array /* 継承したメソッド */ public f ... ring $trait ): Definition public function Componere\Abstract\Definition::getReflector (): ReflectionClass } 目次 Componere\Patch::__construct — Patch Construction Componere\Patch::apply — Application Componere\Patch::revert — Reversal Componere\Patch: ...
https://man.mtool.work/php/8.3/class.componere-patch.html
xdiff_file_patch — ファイルに unified diff 形式のパッチを適用する | PHP 8.3 10813
xdiff_file_patch (PECL xdiff >= 0.2.0) xdiff_file_patch — ファイルに unified diff 形式のパッチを適用する 説明 function xdiff_file_patch ( string $file , string $patch , string $dest , int $flags = DIFF_PATCH_NORMAL ): mixed ファイル file に ... パッチファイル patch を適用し、結果をファイルに保存します。 patch は、 xdiff_file_diff() / xdiff_string_diff() 関数で作成した unified diff 形式 ... でなければなりません。 オプションのパラメータ flags で、操作モードを指定します。 パラメータ file 元のファイル。 patch unified 形式のパッチファイル。 xdiff_string_diff() 関数や xdiff_file_diff() 関数、 あるいは互換性のあるツールで作成したもの ... でなければなりません。 dest 結果のファイルへのパス。 flags XDIFF_PATCH_NORMAL (デフォルト。通常のパッチ)あるいは XDIFF_PATCH_REVERSE (逆パッチ) のいずれか。 バージョン 1.5.0 以降では、バイナ ...
https://man.mtool.work/php/8.3/function.xdiff-file-patch.html
Componere\Patch::derive — Patch Derivation | PHP 8.3 10618
Componere\Patch::derive (Componere 2 >= 2.1.1) Componere\Patch::derive — Patch Derivation 説明 public function Componere\Patch::derive ( object $instance ): Patch Shall derive a Patch for the given instance パラメータ instance The target fo ... r the derived Patch 戻り値 Patch for instance derived from the current Patch Exceptions 警告 Shall throw InvalidArgumentException if instance ... is not compatible 他のマニュアルの関連ページ Linux JM patch(1) Django triaging-tickets ...
https://man.mtool.work/php/8.3/componere-patch.derive.html
Componere | PHP 8.3 10512
Componere はじめに Componere (latin, English: compose) targets production environments and provides an API for composition of classes, monkey patching, and casting. Composition: Componere\Definition is used to define (or redefine) a class a ... rray $interfaces ) public function Componere\Definition::__construct ( string $name , string $parent , array $interfaces ) Patching: Componere\Patch is used to change the class of a specific instance of an object at runtime; Upon application the patch ... will remain applied for as long as the Componere\Patch exists, and can be reverted explicitly. public function Componere\Patch::__construct ( object $instance ) public function ... Componere\Patch::__construct ( object $instance , array $interfaces ) Casting: Componere\ casting functions can cast among user defined co ...
https://man.mtool.work/php/8.3/book.componere.html
xdiff_string_patch — 文字列に unified diff 形式のパッチを適用する | PHP 8.3 10317
xdiff_string_patch (PECL xdiff >= 0.2.0) xdiff_string_patch — 文字列に unified diff 形式のパッチを適用する 説明 function xdiff_string_patch ( string $str , string $patch , int $flags = ? , string &$error = ? ): string ある文字列 str に、uni ... fied 形式のパッチ文字列 patch を適用してその結果を返します。 patch は、 xdiff_file_diff() / xdiff_string_diff() 関数で作成した unified diff 形式でなけれ ... を指定します。パッチが拒否された部分については、 もし error を指定していればそこに保存されます。 パラメータ str 元の文字列。 patch unified 形式のパッチ文字列。 xdiff_string_diff() 関数や xdiff_file_diff() 関数、 あるいは互換性のあるツールで作成したもので ... なければなりません。 flags flags は XDIFF_PATCH_NORMAL (デフォルト。通常のパッチ) あるいは XDIFF_PATCH_REVERSE (逆パッチ) のいずれかです。 バージョン 1.5.0 以降では、バイ ...
https://man.mtool.work/php/8.3/function.xdiff-string-patch.html
xdiff_file_patch_binary — xdiff_file_bpatch() | PHP 8.3 10287
xdiff_file_patch_binary (PECL xdiff >= 0.2.0) xdiff_file_patch_binary — xdiff_file_bpatch() のエイリアス 説明 function xdiff_file_patch_binary ( string $file , string $patch , string $dest ): bool ファイル file にバイナリ形式のパッチファイル ... patch を適用し、結果をファイル dest に保存します。 この関数は、 xdiff_file_bdiff() 関数あるいは xdiff_file_rabdiff() 、 そしてそ ... れぞれの文字列版が作成したパッチを受け取ることができます。 バージョン 1.5.0 以降、この関数は xdiff_file_bpatch() のエイリアスとなりました。 パラメータ file 元のファイル。 patch バイナリのパッチファイル。 dest 結果のファイルへのパス。 ... 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 xdiff_file_patch_binary() の例 以下のコードはバイナリ diff 形式のパッチをファイルに適用します。 <?php $old_version = 'archive-1.0.tgz' ; $p ...
https://man.mtool.work/php/8.3/function.xdiff-file-patch-binary.html
Componere\Patch::__construct — Patch Construction | PHP 8.3 9775
Componere\Patch::__construct (Componere 2 >= 2.1.0) Componere\Patch::__construct — Patch Construction 説明 public function Componere\Patch::__construct ( object $instance ) public function Componere\Patch::__construct ( object $instance , a ... rray $interfaces ) パラメータ instance The target for this Patch interfaces A case insensitive array of class names Exceptions 警告 Shall throw RuntimeException if a class in interfaces c ... e found 警告 Shall throw RuntimeException if a class in interfaces is not an interface 他のマニュアルの関連ページ Linux JM patch(1) Django triaging-tickets ...
https://man.mtool.work/php/8.3/componere-patch.construct.html
Componere\Patch::apply — Application | PHP 8.3 9114
Componere\Patch::apply (Componere 2 >= 2.1.0) Componere\Patch::apply — Application 説明 public function Componere\Patch::apply (): void Shall apply the current patch 他のマニュアルの関連ページ Linux JM patch(1) Django triaging-tickets ...
https://man.mtool.work/php/8.3/componere-patch.apply.html
Componere\Patch::revert — Reversal | PHP 8.3 9114
Componere\Patch::revert (Componere 2 >= 2.1.0) Componere\Patch::revert — Reversal 説明 public function Componere\Patch::revert (): void Shall revert the current patch 他のマニュアルの関連ページ Linux JM patch(1) Django triaging-tickets ...
https://man.mtool.work/php/8.3/componere-patch.revert.html
CollectionModify::patch — document にパッチを当てる | PHP 8.3 9114
CollectionModify::patch (No version information available, might only be in Git) CollectionModify::patch — document にパッチを当てる 説明 public function mysql_xdevapi\CollectionModify::patch ( string $document ): mysql_xdevapi\CollectionMo ... dify Patch オブジェクトを取得し、ひとつ以上のドキュメントに適用し、 そして複数のドキュメントのプロパティを更新します。 パラメータ doc ... 用するプロパティを持ったドキュメント 戻り値 CollectionModify オブジェクトを返します。 例 例1 mysql_xdevapi\CollectionModify::patch() の例 <?php $res = $coll -> modify ( '"Programmatore" IN job' )-> patch ( '{"Hobby" : "Programmare"}' )-> execute (); ?> ... 他のマニュアルの関連ページ Linux JM patch(1) Django new-contributors Vim os_risc Vim if_sniff Python development Python unittest.mock-examples ...
https://man.mtool.work/php/8.3/mysql-xdevapi-collectionmodify.patch.html
PREV 1 2 3 4 5 NEXT