method
public
InMemory::current()
Сигнатура
public current() : mixed
Возвращаемое значение
mixed
Как применяется в InMemory
InMemory::current() — метод класса \Bitrix\Tasks\Internals\Counter\State\InMemory модуля «Задачи».
Метод объекта: сначала нужен экземпляр InMemory.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Counter\State\InMemory;
Loader::includeModule('tasks');
/** @var InMemory $object */
$result = $object->current();
// $result: mixedДругие методы InMemory
getClearedDate()getLoader()getRawCounters()getSize()getValue()init()isCounted()key()next()resetCache()rewind()updateState()
current() есть и у других классов модуля «Задачи»: CounterState, InDatabase, ProviderCollection.
Исходный файл: source/tasks/lib/internals/counter/state/inmemory.php:22

