src/Regex.php
private function getInstance()
    {
        if (is_null($this->instance)) {
            $this->instance = \RegexGuard\Factory::getGuard();
        }
        
        return $this->instance;
    }
private function getInstance()
    {
        if (is_null($this->instance)) {
            $this->instance = \RegexGuard\Factory::getGuard();
        }
        
        return $this->instance;
    }
private function getInstance ( ) { if ( is_null ( $ this -> instance ) ) { $ this -> instance = \ RegexGuard \ Factory :: getGuard ( ) ; } return $ this -> instance ; }
Returns an instance of the library

@return \RegexGuard\RegexGuard
Returns an instance of the library