46 lines
815 B
PHP
Executable File
46 lines
815 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace ${REPO_OWNER}\${REPO_NAME}\models;
|
|
|
|
// Framework for PHP
|
|
use mirzaev\minimal\model,
|
|
mirzaev\minimal\http\enumerations\status;
|
|
|
|
// Built-in libraries
|
|
use exception;
|
|
|
|
/**
|
|
* Models core
|
|
*
|
|
* @package ${REPO_OWNER}\${REPO_NAME}\models
|
|
*
|
|
* @method void __construct() Constructor
|
|
*
|
|
* @license http://www.wtfpl.net/ Do What The Fuck You Want To Public License
|
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
|
* @author ${REPO_OWNER} <mail@domain.zone>
|
|
*/
|
|
class core extends model
|
|
{
|
|
/**
|
|
* File
|
|
*
|
|
* @var string $database Path to the database file
|
|
*/
|
|
protected string $$file = DATABASES . DIRECTORY_SEPARATOR . 'example.baza';
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* Initialize the database
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
}
|
|
}
|
|
|