SolverInterface
API reference › Foxy › Solver › SolverInterface
Implemented by 1 type
Resolves and installs asset dependencies during Composer operations.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
setUpdatable() abstract | Define if the update action can be used. | SolverInterface |
solve() abstract | Solve the asset dependencies. | SolverInterface |
Method details
Section titled “Method details”setUpdatable()
Section titled “setUpdatable() ”abstract public function setUpdatable(bool $updatable): selfDefine if the update action can be used.
Parameters
| Parameter | Type | Description |
|---|---|---|
$updatable | bool | The value of updatable. |
Returns
self
solve()
Section titled “solve() ”abstract public function solve(Composer\Composer $composer, Composer\IO\IOInterface $io): voidSolve the asset dependencies.
Parameters
| Parameter | Type | Description |
|---|---|---|
$composer | Composer\ | The composer instance. |
$io | Composer\ | The IO instance. |