Skip to content
Browse files

Adding built-in interfaces to completions

  • Loading branch information...
1 parent f778292 commit b4190a633247cbcf04d388b4fc66f6f6cc0c48b2 @joshvarner joshvarner committed with Josh Varner Dec 6, 2010
Showing with 17 additions and 0 deletions.
  1. +5 −0 Preferences/Completions.tmPreferences
  2. +12 −0 Support/generate/generate.php
View
5 Preferences/Completions.tmPreferences
@@ -15,6 +15,7 @@
<string>AMQPQueue</string>
<string>APCIterator</string>
<string>AppendIterator</string>
+ <string>ArrayAccess</string>
<string>ArrayIterator</string>
<string>ArrayObject</string>
<string>BadFunctionCallException</string>
@@ -82,6 +83,8 @@
<string>InfiniteIterator</string>
<string>IntlDateFormatter</string>
<string>InvalidArgumentException</string>
+ <string>Iterator</string>
+ <string>IteratorAggregate</string>
<string>IteratorIterator</string>
<string>JDDayOfWeek</string>
<string>JDMonthName</string>
@@ -185,6 +188,7 @@
<string>SQLiteResult</string>
<string>SQLiteUnbuffered</string>
<string>SeekableIterator</string>
+ <string>Serializable</string>
<string>SimpleXMLElement</string>
<string>SimpleXMLIterator</string>
<string>SoapClient</string>
@@ -220,6 +224,7 @@
<string>TokyoTyrant</string>
<string>TokyoTyrantQuery</string>
<string>TokyoTyrantTable</string>
+ <string>Traversable</string>
<string>UnderflowException</string>
<string>UnexpectedValueException</string>
<string>XMLReader</string>
View
12 Support/generate/generate.php
@@ -324,6 +324,18 @@ function parseInfo($info)
$classes = array(
'stdClass',
+ 'Traversable',
+ 'IteratorAggregate',
+ 'Iterator',
+ 'ArrayAccess',
+ 'Serializable',
+ 'RecursiveIterator',
+ 'OuterIterator',
+ 'Countable',
+ 'SeekableIterator',
+ 'SplObserver',
+ 'SplSubject',
+ 'Reflector',
'ErrorException',
'Exception',
'LogicException',

0 comments on commit b4190a6

Please sign in to comment.
Something went wrong with that request. Please try again.