diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-23 06:50:38 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-23 06:50:38 +0100 |
commit | c7615d678747c52fe4bb123257fc582f70b60886 (patch) | |
tree | 9e1ccbc43f4e8b7a05d382f43dfc8091cc4a124c /REFLECTION | |
parent | fd35cdfc932b5ec8e1d4ce40120455c40c41e2c8 (diff) |
update to 0.4.0
raise dependency on PHP 8
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 97 |
1 files changed, 64 insertions, 33 deletions
@@ -1,45 +1,76 @@ -Extension [ <persistent> extension #73 csv version 0.3.1 ] { +Extension [ <persistent> extension #69 csv version 0.4.0 ] { - - Functions { - Function [ <internal:csv> function csv_array_to_row ] { + - Classes [1] { + Class [ <internal:csv> final class CSV ] { - - Parameters [4] { - Parameter #0 [ <required> array $fields ] - Parameter #1 [ <optional> string $delimiter ] - Parameter #2 [ <optional> string $enclosure ] - Parameter #3 [ <optional> string $eolSequence ] + - Constants [0] { } - - Return [ string ] - } - Function [ <internal:csv> function csv_collection_to_file ] { - - Parameters [4] { - Parameter #0 [ <required> array $collection ] - Parameter #1 [ <optional> string $delimiter ] - Parameter #2 [ <optional> string $enclosure ] - Parameter #3 [ <optional> string $eolSequence ] + - Static properties [0] { } - - Return [ string ] - } - Function [ <internal:csv> function csv_file_to_collection ] { - - Parameters [4] { - Parameter #0 [ <required> string $file ] - Parameter #1 [ <optional> string $delimiter ] - Parameter #2 [ <optional> string $enclosure ] - Parameter #3 [ <optional> string $eolSequence ] + - Static methods [5] { + Method [ <internal:csv> static public method arrayToRow ] { + + - Parameters [4] { + Parameter #0 [ <required> array $fields ] + Parameter #1 [ <optional> string $delimiter = ',' ] + Parameter #2 [ <optional> string $enclosure = '"' ] + Parameter #3 [ <optional> string $eolSequence = "\r\n" ] + } + - Return [ string ] + } + + Method [ <internal:csv> static public method rowToArray ] { + + - Parameters [4] { + Parameter #0 [ <required> string $row ] + Parameter #1 [ <optional> string $delimiter = ',' ] + Parameter #2 [ <optional> string $enclosure = '"' ] + Parameter #3 [ <optional> string $eolSequence = "\r\n" ] + } + - Return [ array ] + } + + Method [ <internal:csv> static public method collectionToBuffer ] { + + - Parameters [4] { + Parameter #0 [ <required> iterable $collection ] + Parameter #1 [ <optional> string $delimiter = ',' ] + Parameter #2 [ <optional> string $enclosure = '"' ] + Parameter #3 [ <optional> string $eolSequence = "\r\n" ] + } + - Return [ string ] + } + + Method [ <internal:csv> static public method bufferToCollection ] { + + - Parameters [4] { + Parameter #0 [ <required> string $buffer ] + Parameter #1 [ <optional> string $delimiter = ',' ] + Parameter #2 [ <optional> string $enclosure = '"' ] + Parameter #3 [ <optional> string $eolSequence = "\r\n" ] + } + - Return [ array ] + } + + Method [ <internal:csv> static public method bufferToCollectionLax ] { + + - Parameters [4] { + Parameter #0 [ <required> string $buffer ] + Parameter #1 [ <optional> string $delimiter = ',' ] + Parameter #2 [ <optional> string $enclosure = '"' ] + Parameter #3 [ <optional> string $eolSequence = "\r\n" ] + } + - Return [ array ] + } + } + + - Properties [0] { } - - Return [ array ] - } - Function [ <internal:csv> function csv_row_to_array ] { - - Parameters [4] { - Parameter #0 [ <required> string $row ] - Parameter #1 [ <optional> string $delimiter ] - Parameter #2 [ <optional> string $enclosure ] - Parameter #3 [ <optional> string $eolSequence ] + - Methods [0] { } - - Return [ array ] } } } |