public function getStackOperationsByName($name)
    {
        $stackOperations = [];
        foreach ($this->stackOperations as $stackOperation) {
            if ($stackOperation->name === $name) {
                $stackOperations[] = $stackOperation;
            }
        }

        return $stackOperations;
    }