This file is indexed.

/usr/share/php/Horde/Constraint/IsInstanceOf.php is in php-horde-constraint 2.0.1-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/**
 * Checks for an instance of a class
 *
 * Based on PHPUnit_Framework_Constraint_IsInstanceOf
 *
 * @author James Pepin <james@jamespepin.com>
 */
class Horde_Constraint_IsInstanceOf implements Horde_Constraint
{
    private $_type;

    public function __construct($type)
    {
        $this->_type = $type;
    }

    public function evaluate($value)
    {
        return $value instanceof $this->_type;
    }
}