src/Parser/DateLexer/PregCollection.php
public function register(PregDateLexerInterface $lexer)
    {
        $this->regexp .= $lexer->getExpression();
        $this->lexers[] = $lexer;
    }
public function register(PregDateLexerInterface $lexer)
    {
        $this->regexp .= $lexer->getExpression();
        $this->lexers[] = $lexer;
    }
public function register ( PregDateLexerInterface $ lexer ) { $ this -> regexp .= $ lexer -> getExpression ( ) ; $ this -> lexers [ ] = $ lexer ; }
Registers a pattern in the collection.

@param PregDateLexerInterface $lexer
Registers a pattern in the collection .