<?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\Website;

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

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