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
Name | Description |
---|---|
AbstractList | A strongly typed list maintaining objects by a numeric index. |
AccessorTrait | Provides accessor automation for object properties attributed with #[Setter] and/or #[Getter] . |
Arrayable | Indicates the availability of an array-representative for the implementing class' instance. |
Comparable | Implements a total order on objects of T : Comparable . |
Equatable | Implements 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
Report issues and send Pull Requests in the main quant repository
A writeup and closer look at the
AccessorTrait
can be found at https://thorsten.suckow-homberg.de