src/Processors/DocumentsProcessor.php
public function process($text, $args = null)
    {
        $text = $this->processDocuments($text, $args);
        $text = $this->processGalleries($text, $args);

        return $text;
    }
public function process($text, $args = null)
    {
        $text = $this->processDocuments($text, $args);
        $text = $this->processGalleries($text, $args);

        return $text;
    }
public function process ( $ text , $ args = null ) { $ text = $ this -> processDocuments ( $ text , $ args ) ; $ text = $ this -> processGalleries ( $ text , $ args ) ; return $ text ; }
Processes the given text

@param string $text
@param array|null $args
@return string
Processes the given text