@@ 384-392 (lines=9) @@ | ||
381 | * Get the defined enumerators as array |
|
382 | * @return Enum[] |
|
383 | */ |
|
384 | public function getEnumerators() |
|
385 | { |
|
386 | $enumeration = $this->enumeration; |
|
387 | $enumerators = array(); |
|
388 | foreach ($this->getOrdinals() as $ord) { |
|
389 | $enumerators[] = $enumeration::byOrdinal($ord); |
|
390 | } |
|
391 | return $enumerators; |
|
392 | } |
|
393 | ||
394 | /** |
|
395 | * Get binary bitset in little-endian order |
@@ 366-374 (lines=9) @@ | ||
363 | * Get the defined enumerators as array |
|
364 | * @return Enum[] |
|
365 | */ |
|
366 | public function getEnumerators() |
|
367 | { |
|
368 | $enumeration = $this->enumeration; |
|
369 | $enumerators = array(); |
|
370 | foreach ($this->getOrdinals() as $ord) { |
|
371 | $enumerators[] = $enumeration::byOrdinal($ord); |
|
372 | } |
|
373 | return $enumerators; |
|
374 | } |
|
375 | ||
376 | /** |
|
377 | * Get binary bitset in little-endian order |
@@ 529-537 (lines=9) @@ | ||
526 | * Get the defined enumerators as array |
|
527 | * @return Enum[] |
|
528 | */ |
|
529 | public function getEnumerators() |
|
530 | { |
|
531 | $enumeration = $this->enumeration; |
|
532 | $enumerators = array(); |
|
533 | foreach ($this->getOrdinals() as $ord) { |
|
534 | $enumerators[] = $enumeration::byOrdinal($ord); |
|
535 | } |
|
536 | return $enumerators; |
|
537 | } |
|
538 | ||
539 | /** |
|
540 | * Get binary bitset in little-endian order |