Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


psr:psr13

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン 両方とも次のリビジョン
psr:psr13 [2020/07/20 08:31]
y2sunlight [3.3 Psr\Link\LinkProviderInterface]
psr:psr13 [2020/07/28 11:07]
tanaka [PSR-13: Link definition interfaces]
行 1: 行 1:
-> 編集中 
- 
 ====== PSR-13: Link definition interfaces ====== ====== PSR-13: Link definition interfaces ======
  
行 20: 行 18:
   * PSR-13: Link definition interfaces - リンク定義インターフェース   * PSR-13: Link definition interfaces - リンク定義インターフェース
   * [[psr:psr14|PSR-14: Event Dispatcher - イベントディスパッチャー]]    * [[psr:psr14|PSR-14: Event Dispatcher - イベントディスパッチャー]] 
-  * [[psr:psr15|PSR-15: HTTP Handlers - HTTPハンドラー]] +  * [[psr:psr15|PSR-15: HTTP Server Request Handlers - HTTPサーバーリクエストハンドラー]] 
  
 ----- -----
行 314: 行 312:
  
 /** /**
- An evolvable link provider value object. + 進化可能なリンクプロバイダー値オブジェクト
- * 発展的リンクプロバイダー値オブジェクト+
  */  */
 interface EvolvableLinkProviderInterface extends LinkProviderInterface interface EvolvableLinkProviderInterface extends LinkProviderInterface
 { {
     /**     /**
-     * Returns an instance with the specified link included. 
      * 指定されたリンクを含むインスタンスを返します。      * 指定されたリンクを含むインスタンスを返します。
      *      *
-     * If the specified link is already present, this method MUST return normally 
-     * without errors. The link is present if $link is === identical to a link 
-     * object already in the collection. 
      * 指定されたリンクがすでに存在する場合、このメソッドはエラーなしで正常に戻る必要があります。       * 指定されたリンクがすでに存在する場合、このメソッドはエラーなしで正常に戻る必要があります。 
-     * $linkが===既にコレクションにあるリンクオブジェクトと同一である場合、リンクは存在します。+     * $linkが既にコレクションにあるリンクオブジェクトと同一( ''==='' )な場合、リンクは存在します。
      *      *
      * @param LinkInterface $link      * @param LinkInterface $link
-       A link object that should be included in this collection. 
        このコレクションに含める必要のあるリンクオブジェクト。        このコレクションに含める必要のあるリンクオブジェクト。
      * @return static      * @return static
行 337: 行 329:
  
     /**     /**
-     * Returns an instance with the specified link removed. 
      * 指定されたリンクが削除されたインスタンスを返します。      * 指定されたリンクが削除されたインスタンスを返します。
      *      *
-     * If the specified link is not present, this method MUST return normally 
-     * without errors. The link is present if $link is === identical to a link 
-     * object already in the collection. 
      * 指定されたリンクが存在しない場合、このメソッドはエラーなしで正常に戻る必要があります。       * 指定されたリンクが存在しない場合、このメソッドはエラーなしで正常に戻る必要があります。 
-     * $linkが===既にコレクションにあるリンクオブジェクトと同一である場合、リンクは存在します。+     * $linkが既にコレクションにあるリンクオブジェクトと同一( ''==='' )な場合、リンクは存在します。
      *      *
      * @param LinkInterface $link      * @param LinkInterface $link
-       The link to remove. 
        削除するリンク。        削除するリンク。
      * @return static      * @return static
psr/psr13.txt · 最終更新: 2020/09/01 11:53 by tanaka