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 c2bb251 commit 1072b24Copy full SHA for 1072b24
README.markdown
@@ -58,6 +58,22 @@ $repositories = $client->api('user')->repositories('ornicar');
58
59
From `$client` object, you can access to all GitHub.
60
61
+## Model usage (WIP)
62
+
63
+```php
64
+<?php
65
66
+$org = new Github\Model\Org('screenpages');
67
+$repo = $org->createRepo('github-api');
68
+$issue = $repo->createIssue('This is a problem', array(
69
+ 'body' => 'Oh dear, now what?!'
70
+));
71
72
+$issue->addLabel('critical');
73
74
+print_r($issue->labels());
75
+```
76
77
## Documentation
78
79
See the `doc` directory for more detailed documentation.
0 commit comments