Parser/Device/HbbTv.php
public function parse()
    {
        // only parse user agents containing hbbtv fragment
        if (!$this->isHbbTv()) {
            return false;
        }

        parent::parse();

        // always set device type to tv, even if no model/brand could be found
        $this->deviceType = self::DEVICE_TYPE_TV;

        return true;
    }
public function parse()
    {
        // only parse user agents containing hbbtv fragment
        if (!$this->isHbbTv()) {
            return false;
        }

        parent::parse();

        // always set device type to tv, even if no model/brand could be found
        $this->deviceType = self::DEVICE_TYPE_TV;

        return true;
    }
public function parse ( ) { // only parse user agents containing hbbtv fragment if ( ! $ this -> isHbbTv ( ) ) { return false ; } parent :: parse ( ) ; // always set device type to tv, even if no model/brand could be found $ this -> deviceType = self :: DEVICE_TYPE_TV ; return true ; }
Parses the current UA and checks whether it contains HbbTv information

@see televisions.yml for list of detected televisions
Parses the current UA and checks whether it contains HbbTv information