protected function addIntegerList(
        EntityInterface $entity,
        AttributeInterface $attribute,
        array $options = array()
    ) {
        $values = array();

        $number_of_values = $this->faker->numberBetween(1, 5);
        for ($i = 0; $i < $number_of_values; $i++) {
            $values[] = $this->faker->randomNumber(5);
        }

        $this->setValue($entity, $attribute, $values, $options);
    }
protected function addIntegerList(
        EntityInterface $entity,
        AttributeInterface $attribute,
        array $options = array()
    ) {
        $values = array();

        $number_of_values = $this->faker->numberBetween(1, 5);
        for ($i = 0; $i < $number_of_values; $i++) {
            $values[] = $this->faker->randomNumber(5);
        }

        $this->setValue($entity, $attribute, $values, $options);
    }
protected function addIntegerList ( EntityInterface $ entity , AttributeInterface $ attribute , array $ options = array ( ) ) { $ values = array ( ) ; $ number_of_values = $ this -> faker -> numberBetween ( 1 , 5 ) ; for ( $ i = 0 ; $ i < $ number_of_values ; $ i ++ ) { $ values [ ] = $ this -> faker -> randomNumber ( 5 ) ; } $ this -> setValue ( $ entity , $ attribute , $ values , $ options ) ; }
Generates and adds fake data for an IntegerList on a entity.

@param EntityInterface $entity an instance of the entity to fill with fake data.
@param AttributeInterface $attribute an instance of the IntegerList to fill with fake data.
@param array $options array of options to customize fake data creation.

@return void
Generates and adds fake data for an IntegerList on a entity .