PHP Class think\db\exception\ModelNotFoundException

Inheritance: extends think\exception\DbException
ファイルを表示 Open project: top-think/framework

Protected Properties

Property Type Description
$model

Public Methods

Method Description
__construct ( string $message, string $model = '', array $config = [] ) 构造方法
getModel ( ) : string 获取模型类名

Method Details

__construct() public method

构造方法
public __construct ( string $message, string $model = '', array $config = [] )
$message string
$model string
$config array

getModel() public method

获取模型类名
public getModel ( ) : string
return string

Property Details

$model protected_oe property

protected $model