github DirectoryTree/LdapRecord v1.9.0

latest releases: v3.6.2, v3.6.1, v3.6.0...
3 years ago

Fixed

Added

  • Ability to create local model query scopes by defining a method prefixed with scope, i.e. scopeExhangeUsers - a652a85
  • User::whereHasMailbox() query scope - Thanks to @grantholle - 1e281c2
  • $relation->contains() method to determine if a relationship contains a model, distinguished name or common name i.e.
    $user->groups()->contains('Accounting'). You may also pass an array of any combination of the above to determine if the relation contains any of the given.

Changed

  • The $relation->exists() method can now accept a distinguished name and common name, where it previously only accepted a Model instance. You may now also pass an array of any combination of the above to determine if the relation contains all of the given.

Don't miss a new LdapRecord release

NewReleases is sending notifications on new releases.