PhpBench\Environment\Supplier::getInformations PHP Method

getInformations() public method

Return information from the current environment.
public getInformations ( ) : Information[]
return Information[]
    public function getInformations()
    {
        $informations = [];
        foreach ($this->providers as $provider) {
            if (false === $provider->isApplicable()) {
                continue;
            }
            $informations[] = $provider->getInformation();
        }
        return $informations;
    }