A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
1.5 KiB

3 years ago
<?php
/*
* Copyright © 2021 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework\Interfaces;
interface Loader {
/**
* @param string $key
* @return void
*/
public function __get($key);
/**
* @param string $key
* @param object $value
* @return void
*/
public function __set($key, $value);
/**
* @param string $library
* @return void
*/
public function library($library);
/**
* @param string $model
3 years ago
* @return void
3 years ago
*/
public function model(string $model);
/**
* @param string $helper
3 years ago
* @return void
3 years ago
*/
public function helper(string $helper);
/**
3 years ago
* @param string $control
* @return void
3 years ago
*/
public function control($control);
/**
3 years ago
* @param string $control
* @return void
3 years ago
*/
public function controller($control);
/**
3 years ago
* @param string $driver
* @param string $hostname
* @param string $username
* @param string $password
* @param string $database
* @param int|null $port
* @param string|null $charset
* @return string[]|string|null
3 years ago
*/
public function database(string $driver, $hostname, $username, $password, $database, $port = NULL, $charset = NULL);
/**
3 years ago
* @param string $config
* @return void
3 years ago
*/
public function config($config);
/**
3 years ago
* @param string $language
* @return void
3 years ago
*/
public function language($language);
}