diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-12 03:34:20 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-12 03:34:20 +0900 |
| commit | 3f334d35e62dc9b1cbb06a71781a942ab39c64d4 (patch) | |
| tree | 1a387f7716b5e8f0670d9c4329aab4f3e00d44cd /crates/shirabe | |
| parent | 9a9582e9476eb73fb51413d290cbfccbc7b36f25 (diff) | |
| download | php-shirabe-3f334d35e62dc9b1cbb06a71781a942ab39c64d4.tar.gz php-shirabe-3f334d35e62dc9b1cbb06a71781a942ab39c64d4.tar.zst php-shirabe-3f334d35e62dc9b1cbb06a71781a942ab39c64d4.zip | |
feat(port): port OperationInterface.php
Diffstat (limited to 'crates/shirabe')
| -rw-r--r-- | crates/shirabe/src/dependency_resolver/operation/operation_interface.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/shirabe/src/dependency_resolver/operation/operation_interface.rs b/crates/shirabe/src/dependency_resolver/operation/operation_interface.rs index a133411..99a40c4 100644 --- a/crates/shirabe/src/dependency_resolver/operation/operation_interface.rs +++ b/crates/shirabe/src/dependency_resolver/operation/operation_interface.rs @@ -1 +1,9 @@ //! ref: composer/src/Composer/DependencyResolver/Operation/OperationInterface.php + +pub trait OperationInterface { + fn get_operation_type(&self) -> String; + + fn show(&self, lock: bool) -> String; + + fn to_string(&self) -> String; +} |
