src/Fusonic/Linq/Helper/Set.php
private function find($value, $add = false)
    {
        $hash = self::hash($value);
        if(array_key_exists($hash, $this->objects)) {
            return true;
        }
        else if($add) {
            $this->objects[$hash] = $value;
        }
        return false;
    }
private function find($value, $add = false)
    {
        $hash = self::hash($value);
        if(array_key_exists($hash, $this->objects)) {
            return true;
        }
        else if($add) {
            $this->objects[$hash] = $value;
        }
        return false;
    }
private function find ( $ value , $ add = false ) { $ hash = self :: hash ( $ value ) ; if ( array_key_exists ( $ hash , $ this -> objects ) ) { return true ; } else if ( $ add ) { $ this -> objects [ $ hash ] = $ value ; } return false ; }
Finds the given value and returns true if it was found. Otherwise return false.
Finds the given value and returns true if it was found . Otherwise return false .