public function iterable($subject)
    {
        return is_array($subject) ? 'array' : (
            $subject && $subject instanceof \Traversable ? (
                $subject instanceof \ArrayAccess ? 'arrayAccess' : 'traversable'
            ) : false
        );
    }
public function iterable($subject)
    {
        return is_array($subject) ? 'array' : (
            $subject && $subject instanceof \Traversable ? (
                $subject instanceof \ArrayAccess ? 'arrayAccess' : 'traversable'
            ) : false
        );
    }
public function iterable ( $ subject ) { return is_array ( $ subject ) ? 'array' : ( $ subject && $ subject instanceof \ Traversable ? ( $ subject instanceof \ ArrayAccess ? 'arrayAccess' : 'traversable' ) : false ) ; }
Array or Traversable object.

Not very useful because stdClass _is_ iterable.

'arrayAccess' is a Traversable ArrayAccess object.

@see Validate::loopable()

@param mixed $subject
object|array to pass validation.

@return string|bool
String (array|arrayAccess|traversable) on pass,
boolean false on validation failure.
Array or Traversable object .