public function setDirectives(array $directives): string
    {
        $this->directives = '';
        foreach ($directives as $key => $value) {
            $this->directives .= ' -d ' . $key;
            if ($value !== null) {
                $this->directives .= '=' .$value;
            }
        }

        return trim($this->directives);
    }