src/Phone.php
protected function isDigits($value)
    {
        $conditions = [];
        $conditions[] = strlen($value) >= 10;
        $conditions[] = strlen($value) <= 16;
        $conditions[] = preg_match("/[^\d]/i", $value) === 0;
        return (bool) array_product($conditions);
    }
protected function isDigits($value)
    {
        $conditions = [];
        $conditions[] = strlen($value) >= 10;
        $conditions[] = strlen($value) <= 16;
        $conditions[] = preg_match("/[^\d]/i", $value) === 0;
        return (bool) array_product($conditions);
    }
protected function isDigits ( $ value ) { $ conditions = [ ] ; $ conditions [ ] = strlen ( $ value ) >= 10 ; $ conditions [ ] = strlen ( $ value ) <= 16 ; $ conditions [ ] = preg_match ( "/[^\d]/i" , $ value ) === 0 ; return ( bool ) array_product ( $ conditions ) ; }
Format example 5555555555, 15555555555
@param  [type]  $value [description]
@return boolean        [description]
Format example 5555555555 15555555555