Skip to content

Commit

Permalink
Add usage
Browse files Browse the repository at this point in the history
  • Loading branch information
xunto committed Nov 19, 2016
1 parent 3c8aab4 commit 49b32ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,16 @@ are currently supported. I do not guarantee further development but I accept pul
##Installation
```
composer require xunto/alfresco-control
```

##Usage
```
$alfresco = new AlfrescoControl('%host%', '%login%', '%password');
$processManager = $alfresco->getProcessManager();
$process = $processManager->createProcess('process_definition_key', '%variables:array%', '%items:array%');
$id = $process->getId();
$process = $processManager->findProcess($id);
$process->getId();
```

0 comments on commit 49b32ef

Please sign in to comment.