public function canGetProperty($name, $checkVars = true)
    {
        if (!in_array($name, $this->attrs)) {
            return parent::canGetProperty($name, $checkVars);
        }

        return true;
    }
public function canGetProperty($name, $checkVars = true)
    {
        if (!in_array($name, $this->attrs)) {
            return parent::canGetProperty($name, $checkVars);
        }

        return true;
    }
public function canGetProperty ( $ name , $ checkVars = true ) { if ( ! in_array ( $ name , $ this -> attrs ) ) { return parent :: canGetProperty ( $ name , $ checkVars ) ; } return true ; }
Indicates whether a property can be read.
@param string $name the property name
@param boolean $checkVars whether to treat member variables as properties
Indicates whether a property can be read .