1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Auth/Base.php

35 lines
550 B
PHP
Raw Normal View History

2014-10-22 19:59:09 +02:00
<?php
namespace Auth;
2014-12-22 19:15:38 +01:00
use Pimple\Container;
2014-10-22 19:59:09 +02:00
/**
* Base auth class
*
* @package auth
* @author Frederic Guillot
*/
2015-08-16 17:04:56 +02:00
abstract class Base extends \Core\Base
2014-10-22 19:59:09 +02:00
{
/**
* Database instance
*
* @access protected
* @var \PicoDb\Database
*/
protected $db;
/**
* Constructor
*
* @access public
2014-12-22 19:15:38 +01:00
* @param \Pimple\Container $container
2014-10-22 19:59:09 +02:00
*/
2014-12-22 19:15:38 +01:00
public function __construct(Container $container)
2014-10-22 19:59:09 +02:00
{
2014-12-22 19:15:38 +01:00
$this->container = $container;
$this->db = $this->container['db'];
2014-10-22 19:59:09 +02:00
}
}