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

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

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

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

        return $this;
    }
public function recursive ( $ recursive = true ) { $ this -> recursive = true ; if ( $ recursive === false ) { $ this -> recursive = false ; } return $ this ; }
Sets the recursive property to tell the search
whether or not to search recursively.

@param bool $recursive

@return $this
Sets the recursive property to tell the search whether or not to search recursively .