30 throw new \InvalidArgumentException(
31 "Expected at least one precondition."
46 . $this->original->getHash()
50 function ($o) {
return $o->getHash(); },
62 return $this->original->getLabel();
70 return $this->original->isNotable();
78 return array_merge($this->preconditions, $this->original->getPreconditions($environment));
86 return $this->original->achieve($environment);
94 return $this->original->isApplicable($environment);
An exception for terminatinating execution or to throw for unit testing.
A wrapper around an objective that adds some preconditions.
getPreconditions(Setup\Environment $environment)
@inheritdocs
isApplicable(Setup\Environment $environment)
@inheritDoc
achieve(Setup\Environment $environment)
@inheritdocs
__construct(Setup\Objective $original, Setup\Objective ... $preconditions)
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...