diff options
author | Kamil Rojewski <krojew@users.noreply.github.com> | 2017-08-11 18:24:36 +0200 |
---|---|---|
committer | Wouter van Oortmerssen <wvo@google.com> | 2017-08-11 09:24:36 -0700 |
commit | 46bb05d95226c72cc85242eee386465860786333 (patch) | |
tree | b27fb028b02448c9caeef415423ed0f37827129d /php/Struct.php | |
parent | 7cc72e4b11df064391a909ee7fa0ee5dd7630f9b (diff) | |
download | flatbuffers-46bb05d95226c72cc85242eee386465860786333.tar.gz flatbuffers-46bb05d95226c72cc85242eee386465860786333.tar.bz2 flatbuffers-46bb05d95226c72cc85242eee386465860786333.zip |
Vector of unions for TS/JS and PHP (#4404)
* Eclipse ignore
* TypeScript support
* Prefixing enums
* Test results
* Merged JS and TS generators
* Fixed AppVeyor build problems
* Fixed more AppVeyor build problems
* Fixed more AppVeyor build problems
* Changed TS flag to options struct
* Storing options by value
* Removed unneeded const
* Re-export support for unions
* Uint support
* Casting bools to numbers for mutation
* TS shell tests
* Reverted generates js test file to original version
* Backing up js tests and properly generating test data
* Not importing flatbuffers for TS test generation
* Not overwriting generated js for tests
* AppVeyor test fixes
* Generating the most strict TS code possible
* Not returning null when creating vectors
* Not returning null from struct contructors
* Vector of unions for ts/js
* Sanity check for languages
* Indentation fix + output test files
* Vectors of unions for php
* Fixes to union vector handling + tests
Diffstat (limited to 'php/Struct.php')
-rw-r--r-- | php/Struct.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/php/Struct.php b/php/Struct.php index 94e712b2..cd7652e7 100644 --- a/php/Struct.php +++ b/php/Struct.php @@ -28,4 +28,14 @@ abstract class Struct * @var ByteBuffer $bb */ protected $bb; + + public function setByteBufferPos($pos) + { + $this->bb_pos = $pos; + } + + public function setByteBuffer($bb) + { + $this->bb = $bb; + } } |