Ground Sunlight

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

ユーザ用ツール

サイト用ツール


apricot:app:db-model

差分

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

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

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン 両方とも次のリビジョン
apricot:app:db-model [2020/05/13 23:21]
y2sunlight [モデルクラス]
apricot:app:db-model [2020/05/23 14:55]
y2sunlight [モデルクラス]
行 17: 行 17:
     * [[apricot:app:validation|Apricot バリデーション]]     * [[apricot:app:validation|Apricot バリデーション]]
     * [[apricot:app:transaction|Apricot トランザクション]]     * [[apricot:app:transaction|Apricot トランザクション]]
-  * [[apricot:ext:top|Apricot 拡張]]+  * [[apricot:ext:middleware|Apricot 拡張]]
  
 \\ \\
行 326: 行 326:
     private $success = false;     private $success = false;
  
 +    /**
 +     * テーブル名の取得
 +     * @return string
 +     */
 +    public function tableName():string
 +    {
 +        return snake_case(get_short_class_name($this));
 +    }
 +    
     /**     /**
      * テーブルの取得      * テーブルの取得
apricot/app/db-model.txt · 最終更新: 2020/05/23 14:58 by y2sunlight