original_string: protected function length($length, $propagate = true)
  	{
  		$this->length = $this->intCast($length ?: $this->length);
  		return $this->propagateMutation('length', $propagate);
  	}
code: protected function length($length, $propagate = true)
  	{
  		$this->length = $this->intCast($length ?: $this->length);
  		return $this->propagateMutation('length', $propagate);
  	}
code_tokens: protected function length ( $ length , $ propagate = true ) { $ this -> length = $ this -> intCast ( $ length ? : $ this -> length ) ; return $ this -> propagateMutation ( 'length' , $ propagate ) ; }
docstring: Sets the length of keys to be generated by the generator.
  
  @param numeric $length
  @param bool $propagate
  @return $this
  
  @throws \InvalidArgumentException
docstring_tokens: Sets the length of keys to be generated by the generator .