Skip to main content

quant/core

Low-level API providing contracts, base classes and commonly-used functionality.

Installation

quant/core comes bundled with quant. To install it separately, follow the installation instructions.

Available Documentation

NameDescription
AbstractListA strongly typed list maintaining objects by a numeric index.
AccessorTraitProvides accessor automation for object properties attributed with #[Setter] and/or #[Getter].
ArrayableIndicates the availability of an array-representative for the implementing class' instance.
ComparableImplements a total order on objects of T : Comparable.
EquatableImplements an equivalence relation for objects of T : Equatable

Benchmarks

quant/core uses phpbench for benchmarking selected functionality of this package. The command

$ vendor/bin/phpbench run Tests/Benchmarks --report=aggregate --retry-threshold=5

starts the Benchmarks. Please consult the documentation for details on how to configure the benchmark-runner to your needs.

Resources