src/lib/Herrera/Box/Box.php
public function setValues(array $values)
    {
        foreach ($values as $value) {
            if (false === is_scalar($value)) {
                throw InvalidArgumentException::create(
                    'Non-scalar values (such as %s) are not supported.',
                    gettype($value)
                );
            }
        }

        $this->values = $values;
    }
public function setValues(array $values)
    {
        foreach ($values as $value) {
            if (false === is_scalar($value)) {
                throw InvalidArgumentException::create(
                    'Non-scalar values (such as %s) are not supported.',
                    gettype($value)
                );
            }
        }

        $this->values = $values;
    }
public function setValues ( array $ values ) { foreach ( $ values as $ value ) { if ( false === is_scalar ( $ value ) ) { throw InvalidArgumentException :: create ( 'Non-scalar values (such as %s) are not supported.' , gettype ( $ value ) ) ; } } $ this -> values = $ values ; }
Sets the placeholder values.

@param array $values The values.

@throws Exception\Exception
@throws InvalidArgumentException If a non-scalar value is used.
Sets the placeholder values .