Files
yii2-usuario/lib/User/Query/ProfileQuery.php
Antonio Ramirez 3ba01b4674 fix formatting
2016-12-14 02:50:12 +01:00

14 lines
193 B
PHP

<?php
namespace Da\User\Query;
use yii\db\ActiveQuery;
class ProfileQuery extends ActiveQuery
{
public function whereId($id)
{
return $this->andWhere(['id' => $id]);
}
}