packagist directorytree/ldaprecord v2.8.0

latest releases: v3.6.4, dev-master, dev-BUG-653...
2 years ago

Changed

Models\ActiveDirectory\User: #346

  • $user->isLockedOut() can now accept only a duration in minutes, without a timezone (i.e. $user->isLockedOut(30))

Added

Model: #346

  • rename() now allows a string instead of requiring an RDN (i.e. cn=John Doe)
  • saveQuietly() allows you to save a model without firing any events (create/update)

Query\Builder: #346

  • each() method allows you to execute a callback over individual objects in a chunked query
  • chunk() can now be aborted by returning false in a chunk
  • firstOr() - execute a callback if there are no results from a query
  • sole() - return the first result from a query, but throw an exception if there are multiple objects or no objects found
  • exists() - determine if the query contains any results
  • doesntExist() - determine if the query does not contain any results
  • existsOr() - execute a callback if the query does not contain any results

DistinguishedName: #346

  • isValid static method to DistinguishedName (DistinguishedName::isValid())
  • isEmpty method to DistinguishedName (DistinguishedName::make()->isEmpty())

Don't miss a new ldaprecord release

NewReleases is sending notifications on new releases.