aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/dependency_resolver/operation/solver_operation.rs
blob: eb9c63155b5aae59ab5b85b7045b207767f29056 (plain)
1
2
3
4
5
6
7
8
9
//! ref: composer/src/Composer/DependencyResolver/Operation/SolverOperation.php

/// PHP's abstract `SolverOperation` carries the per-class `TYPE` constant and the
/// `getOperationType()` / `__toString()` implementations shared by every operation. Only the
/// constant remains here; the shared implementations live on
/// [`AnyOperation`](crate::dependency_resolver::operation::AnyOperation).
pub trait SolverOperation {
    const TYPE: &'static str;
}