DiscordPHP-MTG Documentation

Deprecated

Table of Contents

src/MTG/Repository/AbstractRepositoryTrait.php

AbstractRepositoryTrait.php

Line Element Reason
187 AbstractRepositoryTrait::save()

Use Part->save($reason) to ensure permissions are checked.

442 AbstractRepositoryTrait::pull()

Use async $repository->cachePull()

478 AbstractRepositoryTrait::pushItem()

Use async $repository->cache->set() This method is deprecated for userland code but can still be used internally within the library.

546 AbstractRepositoryTrait::has()

Use async $repository->cache->has()

620 AbstractRepositoryTrait::clear()

Use async $repository->cache->clear()

633 AbstractRepositoryTrait::toArray()

Use jsonSerialize

668 AbstractRepositoryTrait::offsetExists()

Use async $repository->cache->has() This method is deprecated for userland code but can still be used internally within the library.

683 AbstractRepositoryTrait::offsetGet()

Use async $repository->cacheGet() or sync $repository->get() This method is deprecated for userland code but can still be used internally within the library.

706 AbstractRepositoryTrait::offsetSet()

Use async $repository->cache->set()

718 AbstractRepositoryTrait::offsetUnset()

Use async $repository->cache->delete()

Search results