<?php
/*
 * Copyright © ProgramCMS. All rights reserved.
 * See COPYING.txt for license details.
 *
 * Developed by Mohamed EL QUCHIRI <elquchiri@gmail.com>
 */

namespace ProgramCms\WebsiteBundle\Model\Collection\WebsiteGroup;

use ProgramCms\CoreBundle\Model\Db\Collection\AbstractCollection;
use ProgramCms\WebsiteBundle\Entity\WebsiteGroup;

/**
 * Class Collection
 * @package ProgramCms\WebsiteBundle\Model\Collection\WebsiteGroup
 */
class Collection extends AbstractCollection
{
    /**
     * Initialize Collection
     */
    protected function _construct()
    {
        $this->_initEntity(WebsiteGroup::class);
        $this->addFieldToFilter('website_group_code', 'admin', 'neq');
    }
}