src/Classes/AdldapSearch.php
public function read($read = false)
    {
        $this->read = true;

        if ($read === false) {
            $this->read = false;
        }

        return $this;
    }
public function read($read = false)
    {
        $this->read = true;

        if ($read === false) {
            $this->read = false;
        }

        return $this;
    }
public function read ( $ read = false ) { $ this -> read = true ; if ( $ read === false ) { $ this -> read = false ; } return $ this ; }
Sets the recursive property to tell the search
whether or not to search on the base scope and
return a single entry.

@param bool $read

@return $this
Sets the recursive property to tell the search whether or not to search on the base scope and return a single entry .