This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from trogon/develop
Release 0.3.0
- Loading branch information
Showing
83 changed files
with
2,748 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
data/ | ||
vendor/ | ||
coverage.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Listen for XDebug", | ||
"type": "php", | ||
"request": "launch", | ||
"port": 9000 | ||
}, | ||
{ | ||
"name": "Launch currently open script", | ||
"type": "php", | ||
"request": "launch", | ||
"program": "${file}", | ||
"cwd": "${fileDirname}", | ||
"port": 9000 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Install project", | ||
"type": "shell", | ||
"command": "composer install", | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Run Unit Tests", | ||
"type": "shell", | ||
"command": "vendor/bin/phpunit", | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": true | ||
}, | ||
"problemMatcher": [], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
}, | ||
{ | ||
"label": "Install Docs", | ||
"type": "shell", | ||
"command": "bundler install", | ||
"options": { | ||
"cwd": "${workspaceRoot}/docs" | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Run Docs DEV", | ||
"type": "shell", | ||
"command": "bundle exec jekyll serve --config _config_dev.yml", | ||
"options": { | ||
"cwd": "${workspaceRoot}/docs" | ||
}, | ||
"problemMatcher": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$schema": "http://schema.trogon.eu/json/apidocs.json", | ||
"name": "Page", | ||
"description": "Describes single page", | ||
"introduced": "0.2.0", | ||
"version": "0.3.0", | ||
"properties": [ | ||
{ | ||
"name": "info", | ||
"type": "PageInfo", | ||
"access": "Read Only", | ||
"description": "Stores page meta informations" | ||
}, | ||
{ | ||
"name": "items", | ||
"type": "Text[]", | ||
"access": "Read Only", | ||
"description": "Stores page content" | ||
} | ||
], | ||
"methods": [ | ||
{ | ||
"name": "addText", | ||
"type": "Text", | ||
"description": "Append new text entry" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "http://schema.trogon.eu/json/apidocs.json", | ||
"name": "PageCollection", | ||
"description": "Describes collection of pages", | ||
"introduced": "0.2.0", | ||
"version": "0.3.0", | ||
"properties": [], | ||
"methods": [ | ||
{ | ||
"name": "add", | ||
"type": "Page", | ||
"description": "Append new page" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$schema": "http://schema.trogon.eu/json/apidocs.json", | ||
"name": "Text", | ||
"description": "Describes single text block (immutable type)", | ||
"introduced": "0.2.0", | ||
"version": "0.3.0", | ||
"properties": [ | ||
{ | ||
"name": "info", | ||
"type": "TextInfo", | ||
"access": "Read Only", | ||
"description": "Stores text meta informations" | ||
}, | ||
{ | ||
"name": "text", | ||
"type": "string", | ||
"access": "Read Only", | ||
"description": "Stores text value" | ||
} | ||
], | ||
"methods": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
{ | ||
"$schema": "http://schema.trogon.eu/json/apidocs.json", | ||
"name": "DocumentWriter", | ||
"description": "Transform document object into PDF document", | ||
"description": "Transform document object into given format using installed providers", | ||
"introduced": "0.1.0", | ||
"version": "0.3.0", | ||
"properties": [], | ||
"methods": [ | ||
{ | ||
"name": "save", | ||
"type": "void", | ||
"description": "Transform document into PDF document and saves as file in given location" | ||
"description": "Transform document into given format and saves as file in given location" | ||
}, | ||
{ | ||
"name": "toString", | ||
"type": "string", | ||
"description": "Transform document into PDF document and returns as binary string" | ||
"description": "Transform document into given format and returns as binary string" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "http://schema.trogon.eu/json/apidocs.json", | ||
"name": "PdfDocumentWriter", | ||
"description": "Document writer provider. Transforms document object into PDF document", | ||
"introduced": "0.3.0", | ||
"properties": [], | ||
"methods": [ | ||
{ | ||
"name": "save", | ||
"type": "void", | ||
"description": "Transform document into PDF document and saves as file in given location" | ||
}, | ||
{ | ||
"name": "toString", | ||
"type": "string", | ||
"description": "Transform document into PDF document and returns as binary string" | ||
} | ||
] | ||
} |
Oops, something went wrong.