@@ -81,6 +81,18 @@ Pushing Log and Cache instances. Not required, but suggested for better performa
81
81
82
82
### Getting KRS Entity
83
83
#### Request
84
+ ##### Available pull flags
85
+ - ` KrsEntity::PULL_NONE `
86
+ - ` KrsEntity::PULL_COMPANIES ` - Layer ` firmy `
87
+ - ` KrsEntity::PULL_DEPARTMENTS ` - Layer ` oddzialy `
88
+ - ` KrsEntity::PULL_PARTNERS ` - Layer ` wspolnicy `
89
+ - ` KrsEntity::PULL_PKDS ` - Layer ` dzialalnosci `
90
+ - ` KrsEntity::PULL_SHARES ` - Layer ` emisje_akcji `
91
+ - ` KrsEntity::PULL_PERSON_REPRESENTATION ` - Layer ` reprezentacja `
92
+ - ` KrsEntity::PULL_PERSON_SUPERVISION ` - Layer ` nadzor `
93
+ - ` KrsEntity::PULL_PERSON_PROXY ` - Layer ` prokurenci `
94
+ - ` KrsEntity::PULL_PERSON_FOUNDING ` - Layer ` komitetZalozycielski `
95
+ - ` KrsEntity::PULL_ALL ` - All layers
84
96
``` php
85
97
$oApi = \mrcnpdlk\MojePanstwo\Api::create($oClient);
86
98
@@ -231,11 +243,24 @@ mrcnpdlk\MojePanstwo\Model\SearchResponse Object
231
243
)
232
244
```
233
245
246
+ ### Getting KRS Person
247
+ #### Request
248
+ ##### Available pull flags
249
+ - ` KrsPerson::PULL_NONE `
250
+ - ` KrsPerson::PULL_KRS_ENTITIES `
251
+ - ` KrsPerson::PULL_ALL `
252
+
253
+ ``` php
254
+ $oApi = \mrcnpdlk\MojePanstwo\Api::create($oClient);
255
+
256
+ $res = $oApi->getKrsPerson('1491928',\mrcnpdlk\MojePanstwo\Model\KrsPerson::PULL_ALL);
257
+ print_r($res);
258
+ ```
259
+
234
260
### Searching KRS Person
235
261
#### Request
236
262
Calling ` searchKrsPerson() ` method returns QueryBuilder instance, additional functions as ` limit() ` , ` where() ` /` whereQ() ` , ` page() ` are available.
237
263
At the end call method ` get() ` to receive ` SearchResponse ` object.
238
-
239
264
``` php
240
265
$res = $oApi->searchKrsPerson()
241
266
->whereQ('Jan Nowak')
0 commit comments