-
Notifications
You must be signed in to change notification settings - Fork 7
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 #152 from codebar-ag/feature-l11
Feature l11
- Loading branch information
Showing
15 changed files
with
302 additions
and
188 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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,25 @@ | ||
<?php | ||
|
||
namespace CodebarAg\DocuWare\DTO\Documents\DocumentIndex; | ||
|
||
class IndexKeywordDTO | ||
{ | ||
public function __construct( | ||
public string $name, | ||
public ?string $value, | ||
) {} | ||
|
||
public static function make(string $name, ?string $value): self | ||
{ | ||
return new self($name, $value); | ||
} | ||
|
||
public function values(): array | ||
{ | ||
return [ | ||
'FieldName' => $this->name, | ||
'Item' => $this->value, | ||
'ItemElementName' => 'Keyword', | ||
]; | ||
} | ||
} |
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,25 @@ | ||
<?php | ||
|
||
namespace CodebarAg\DocuWare\DTO\Documents\DocumentIndex; | ||
|
||
class IndexMemoDTO | ||
{ | ||
public function __construct( | ||
public string $name, | ||
public ?string $value, | ||
) {} | ||
|
||
public static function make(string $name, ?string $value): self | ||
{ | ||
return new self($name, $value); | ||
} | ||
|
||
public function values(): array | ||
{ | ||
return [ | ||
'FieldName' => $this->name, | ||
'Item' => $this->value, | ||
'ItemElementName' => 'Memo', | ||
]; | ||
} | ||
} |
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
This file was deleted.
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
Oops, something went wrong.