for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Finance module for HiPanel
*
* @link https://github.com/hiqdev/hipanel-module-finance
* @package hipanel-module-finance
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/
namespace hipanel\modules\server\models\query;
use hiqdev\hiart\ActiveQuery;
class ServerQuery extends ActiveQuery
{
public function withBindings()
$this->joinWith('bindings');
$this->andWhere(['with_bindings' => true]);
return $this;
}
public function withUses()
$this->joinWith('uses');
$this->andWhere(['with_uses' => true]);