kb / app /Formatter /BaseFormatter.php
Xv Zan
ULFS
e4f4821
raw
history blame contribute delete
541 Bytes
<?php
namespace Kanboard\Formatter;
use Kanboard\Core\Base;
use PicoDb\Table;
/**
* Class BaseFormatter
*
* @package formatter
* @author Frederic Guillot
*/
abstract class BaseFormatter extends Base
{
/**
* Query object
*
* @access protected
* @var Table
*/
protected $query;
/**
* Set query
*
* @access public
* @param Table $query
* @return $this
*/
public function withQuery(Table $query)
{
$this->query = $query;
return $this;
}
}