ArrayAccess.hx 330 B

12345678910111213
  1. package php;
  2. /**
  3. Native PHP interface.
  4. @see http://php.net/manual/en/class.arrayaccess.php
  5. **/
  6. @:native('ArrayAccess')
  7. extern interface ArrayAccess<K,V> {
  8. function offsetExists( offset:K ) : Bool;
  9. function offsetGet( offset:K ) : V;
  10. function offsetSet( offset:K, value:V ) : Void;
  11. function offsetUnset( offset:K ) : Void;
  12. }