Skip to content

Commit

Permalink
Item interfaces (#28)
Browse files Browse the repository at this point in the history
* Add Rate and ItemWithDate interfaces

* Add dv method

* Run new fixer
  • Loading branch information
liquetsoft authored Dec 7, 2022
1 parent 3229c92 commit adb795e
Show file tree
Hide file tree
Showing 26 changed files with 461 additions and 310 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ $mkr = $cbrf->mkr(
);
```

```php
//получаем требования Банка России к кредитным организациям
$dv = $cbrf->dv(
new \DateTimeImmutable('-1 month'),
new \DateTimeImmutable()
);
```

В случае, если необходимо передать сконфигурированный заранее транспорт, например для использования proxy:

```php
Expand Down
2 changes: 1 addition & 1 deletion docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN docker-php-ext-install zip soap \
&& echo 'xdebug.mode=coverage' >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini


RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=2.3.7 \
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --version=2.4.4 \
&& mkdir -p /.composer && chmod -Rf 777 /.composer


Expand Down
Loading

0 comments on commit adb795e

Please sign in to comment.