We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba5c7a commit 2dfd042Copy full SHA for 2dfd042
README.md
@@ -16,13 +16,15 @@ Additional documentation about the library can be found on
16
Usage
17
-----
18
19
- // Reading a CDB file
20
- $cdb = Cdb\Reader::open( 'db.cdb' );
21
- $foo = $cdb->get( 'somekey' );
22
-
23
- // Writing to a CDB file
24
- $cdb = Cdb\Writer::open( 'anotherdb.cdb' );
25
- $cdb->set( 'somekey', $foo );
+```php
+// Reading a CDB file
+$cdb = Cdb\Reader::open( 'db.cdb' );
+$foo = $cdb->get( 'somekey' );
+
+// Writing to a CDB file
+$cdb = Cdb\Writer::open( 'anotherdb.cdb' );
26
+$cdb->set( 'somekey', $foo );
27
+```
28
29
// Using the CLI
30
$ cdb ./myfile.cdb [get|list|match] <parameter>
0 commit comments