protected function exportNotice($notice)
    {
        $docDirectoryPath = strtr($this->getDocumentationDirectory(true), [DIRECTORY_SEPARATOR => '/']).'/';

        return preg_replace_callback('/\[([^\]]*?)\]\(([^\)]*?)\)/', function($match) use ($docDirectoryPath) {
            return '['.$match[1].']('
                   .(preg_match('%^https?\:\/\/%i', $match[2]) ? '' : $docDirectoryPath)
                   .$match[2].')';
        }, $notice);
    }
protected function exportNotice($notice)
    {
        $docDirectoryPath = strtr($this->getDocumentationDirectory(true), [DIRECTORY_SEPARATOR => '/']).'/';

        return preg_replace_callback('/\[([^\]]*?)\]\(([^\)]*?)\)/', function($match) use ($docDirectoryPath) {
            return '['.$match[1].']('
                   .(preg_match('%^https?\:\/\/%i', $match[2]) ? '' : $docDirectoryPath)
                   .$match[2].')';
        }, $notice);
    }
protected function exportNotice ( $ notice ) { $ docDirectoryPath = strtr ( $ this -> getDocumentationDirectory ( true ) , [ DIRECTORY_SEPARATOR => '/' ] ) . '/' ; return preg_replace_callback ( '/\[([^\]]*?)\]\(([^\)]*?)\)/' , function ( $ match ) use ( $ docDirectoryPath ) { return '[' . $ match [ 1 ] . '](' . ( preg_match ( '%^https?\:\/\/%i' , $ match [ 2 ] ) ? '' : $ docDirectoryPath ) . $ match [ 2 ] . ')' ; } , $ notice ) ; }
Export a notice

@param $notice

@return mixed
Export a notice