mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
34 lines
550 B
PHP
34 lines
550 B
PHP
<?php
|
|
|
|
namespace Auth;
|
|
|
|
use Pimple\Container;
|
|
|
|
/**
|
|
* Base auth class
|
|
*
|
|
* @package auth
|
|
* @author Frederic Guillot
|
|
*/
|
|
abstract class Base extends \Core\Base
|
|
{
|
|
/**
|
|
* Database instance
|
|
*
|
|
* @access protected
|
|
* @var \PicoDb\Database
|
|
*/
|
|
protected $db;
|
|
|
|
/**
|
|
* Constructor
|
|
*
|
|
* @access public
|
|
* @param \Pimple\Container $container
|
|
*/
|
|
public function __construct(Container $container)
|
|
{
|
|
$this->container = $container;
|
|
$this->db = $this->container['db'];
|
|
}
|
|
}
|