setRanges example

/** * @param array<int, array<string, float>> $ranges */
    public function __construct(
        string $name,
        string $field,
        array $ranges
    ) {
        parent::__construct($name);

        $this->setField($field);
        $this->setRanges($ranges);
    }

    /** * @param array<int, array<string, float>> $ranges */
    public function setRanges(array $ranges): void
    {
        $this->ranges = $ranges;
    }

    /** * @return array<int, array<string, float>> */
Home | Imprint | This part of the site doesn't use cookies.