Eris\Generator\CharacterGenerator::contains PHP Method

contains() public method

public contains ( GeneratedValue $generatedValue )
$generatedValue GeneratedValue
    public function contains(GeneratedValue $generatedValue)
    {
        $value = $generatedValue->unbox();
        return is_string($value) && strlen($value) == 1 && ord($value) >= $this->lowerLimit && ord($value) <= $this->upperLimit;
    }