public function apply(ComponentInterface $component, $operations)
    {
        if (is_string($operations) || $operations instanceof Closure) {
            $operations = [$operations];
        }
        foreach ($operations as $operation) {
            if (is_string($operation)) {
                list($key, $value) = explode(':', $operation);
                $operation = [$key => $value];
            } elseif ($operation instanceof Closure) {
                $operation = [$operation];
            }
            $this->applyInternal($component, $operation);
        }

    }