public function DependencyStack::hasDependency in Dependency Calculation 8
Checks if a particular dependency exists in the stack.
Parameters
string $uuid: The uuid of the dependency to check.
Return value
bool
File
- src/
DependencyStack.php, line 109
Class
- DependencyStack
- The dependencies stack.
Namespace
Drupal\depcalcCode
public function hasDependency($uuid) {
return !empty($this->dependencies[$uuid]);
}