Adldap\Query\Builder::get PHP Method

get() public method

Returns the current query.
public get ( ) : Collection | array
return Illuminate\Support\Collection | array
    public function get()
    {
        // We'll mute any warnings / errors here. We just need to
        // know if any query results were returned.
        return @$this->query($this->getQuery());
    }

Usage Example

Esempio n. 1
0
 /**
  * Returns the current LDAP query string.
  *
  * @return string
  */
 public function getQuery()
 {
     return $this->query->get();
 }