<?php
/**
 * Device Detector - The Universal Device Detection library for parsing User Agents
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
 */
namespace DeviceDetector\Parser\Device;

/**
 * Class Camera
 *
 * Device parser for camera detection
 *
 * @package DeviceDetector\Parser\Device
 */
class Camera extends DeviceParserAbstract
{
    protected $fixtureFile = 'regexes/device/cameras.yml';
    protected $parserName  = 'camera';

    public function parse()
    {
        if (!$this->preMatchOverall()) {
            return false;
        }

        return parent::parse();
    }
}
