Skip to content

Commit

Permalink
规范模型、优化文档说明
Browse files Browse the repository at this point in the history
Signed-off-by: hanhyu <hanhyu@qq.com>
  • Loading branch information
hanhyu committed Jun 26, 2021
1 parent 5b7d962 commit e616ce6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions application/library/ModelInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php


namespace App\Library;


interface ModelInterface
{
public static function getInstance(): static;

public static function getPool(): string;

public static function getDb(): object;
}

0 comments on commit e616ce6

Please sign in to comment.