Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MartkCz committed Feb 17, 2020
1 parent c95dde1 commit 1f5afa3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ php 7.1
composer require contributte/invoice
```

Example
```php
$invoice = new Contributte\Invoice\Invoice(Contributte\Invoice\Preview\PreviewFactory::createCompany());

$invoice->send(Contributte\Invoice\Preview\PreviewFactory::createCustomer(), Contributte\Invoice\Preview\PreviewFactory::createOrder());
```

## Usage

### Company
Expand Down Expand Up @@ -87,10 +94,6 @@ $this->sendResponse($invoice->createResponse($customer, $order));
$invoice->send(Contributte\Invoice\Preview\PreviewFactory::createCustomer(), Contributte\Invoice\Preview\PreviewFactory::createOrder());
```

```php

```

## Nette DI

```yaml
Expand Down

0 comments on commit 1f5afa3

Please sign in to comment.