Nelmio\Alice\FixtureBuilder\Denormalizer\Fixture\Chainable\NullRangeNameDenormalizer::buildIds PHP Method

buildIds() public method

public buildIds ( string $id ) : array
$id string
return array
    public function buildIds(string $id) : array
    {
        $ids = [];
        $range = $this->buildRange($id);
        $from = $range->getFrom();
        $to = $range->getTo();
        for ($currentIndex = $from; $currentIndex <= $to; $currentIndex++) {
            $ids[str_replace($this->token, $currentIndex, $range->getName())] = $currentIndex;
        }
        return $ids;
    }