LFT
  • Namespace
  • Class
  • Tree

Namespaces

  • Docoflow
    • Contracts
    • Entity
    • Facades
    • Models
    • Traits
  • Docolight
    • Agno
      • Traits
    • Container
    • Http
      • Contracts
    • Rest
      • Handler
      • Http
    • Support
      • Debug
      • Traits
  • Docotory
    • Traits
  • None

Classes

  • Group
  • Step
  • Verificator

Class Group

Group entities.

Docolight\Support\Collection implements ArrayAccess, Countable, IteratorAggregate, JsonSerializable, Docolight\Http\Contracts\Arrayable
Extended by Docoflow\Entity\Group uses Docoflow\Traits\Entity
Namespace: Docoflow\Entity
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docoflow/Entity/Group.php

Methods summary

public Docoflow\Entity\Group
# rebuild( Docoflow\Entity\Step & $steps )

Rebuild a barely new group to a readable array.

Rebuild a barely new group to a readable array.

Parameters

$steps
$steps

Returns

Docoflow\Entity\Group
public Docoflow\Entity\Verificator
# gatherVerificators( )

Gather all verificator in current group

Gather all verificator in current group

Returns

Docoflow\Entity\Verificator
public mixed
# approve( )

Approve all.

Approve all.

Returns

mixed
public mixed
# approveIf( )

Approve all if it's not expired.

Approve all if it's not expired.

Returns

mixed
public mixed
# reject( )

Reject all.

Reject all.

Returns

mixed

Overrides

Docolight\Support\Collection::reject
public mixed
# rejectIf( )

Reject all if it's not expired.

Reject all if it's not expired.

Returns

mixed
public mixed
# reset( )

Reset all.

Reset all.

Returns

mixed
public mixed
# resetIf( )

Reset all if it's not expired.

Reset all if it's not expired.

Returns

mixed

Methods inherited from Docolight\Support\Collection

__construct(), __get(), __toString(), all(), castToArray(), chunk(), collapse(), contains(), count(), diff(), each(), fetch(), fill(), filter(), first(), flatten(), flip(), forPage(), forget(), get(), getArrayableItems(), getCachingIterator(), getIterator(), getValidators(), groupBy(), has(), hasErrors(), implode(), intersect(), isEmpty(), jsonSerialize(), keyBy(), keys(), last(), lists(), make(), map(), merge(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), pluck(), pop(), prepend(), pull(), push(), put(), random(), reduce(), reverse(), search(), setFilters(), shift(), shuffle(), slice(), sort(), sortBy(), sortByDesc(), splice(), sum(), take(), toArray(), toJson(), transform(), unique(), useAsCallable(), valueRetriever(), values(), where(), whereLoose(), zip()

Methods used from Docoflow\Traits\Entity

assign(), make(), save()

Properties summary

Properties inherited from Docolight\Support\Collection

$filters, $items

LFT API documentation generated by ApiGen