Skip to content

Commit

Permalink
added new direction 'changing'
Browse files Browse the repository at this point in the history
closes #18
  • Loading branch information
gregor-j committed Aug 5, 2024
1 parent caefafb commit 5598d0f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/Api/RemoteApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ public function getOutputElements(): array
return $this->getElements(IApiElement::DIRECTION_OUTPUT);
}

/**
* Get all direction changing values of the remote function.
* @return IApiElement[]
*/
public function getChangingElements(): array
{
return $this->getElements(IApiElement::DIRECTION_CHANGING);
}

/**
* Get all tables of the remote function.
* @return IApiElement[]
Expand Down
3 changes: 2 additions & 1 deletion src/Api/Struct.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ protected function getAllowedDirections(): array
{
return [
self::DIRECTION_INPUT,
self::DIRECTION_OUTPUT
self::DIRECTION_OUTPUT,
self::DIRECTION_CHANGING
];
}

Expand Down
3 changes: 2 additions & 1 deletion src/Api/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ protected function getAllowedDirections(): array
{
return [
self::DIRECTION_INPUT,
self::DIRECTION_OUTPUT
self::DIRECTION_OUTPUT,
self::DIRECTION_CHANGING
];
}
}

0 comments on commit 5598d0f

Please sign in to comment.