public function setModulePath($value)
    {
        if (($this->_modulePath = realpath($value)) === false || !is_dir($this->_modulePath)) {
            throw new Exception(Mindy::t('base', 'The module path "{path}" is not a valid directory.', ['{path}' => $value]));
        }
    }