private function getStatementLexingMethods() : array
    {
        $statements = [
            $this->directiveDelimiters[0] => 'lexDirectiveStatement',
            $this->sanitizedTagDelimiters[0] => 'lexSanitizedTagStatement',
            $this->unsanitizedTagDelimiters[0] => 'lexUnsanitizedTagStatement',
            $this->commentDelimiters[0] => 'lexCommentStatement',
            '<?php' => 'lexPhpStatement',
            '<?' => 'lexPhpStatement'
        ];

        /**
         * In case one delimiter is a substring of the other ("{{" and "{{!"), we want to sort the delimiters
         * so that the longest delimiters come first
         */
        uksort($statements, function ($a, $b) {
            if (strlen($a) > strlen($b)) {
                return -1;
            } else {
                return 1;
            }
        });

        return $statements;
    }
private function getStatementLexingMethods() : array
    {
        $statements = [
            $this->directiveDelimiters[0] => 'lexDirectiveStatement',
            $this->sanitizedTagDelimiters[0] => 'lexSanitizedTagStatement',
            $this->unsanitizedTagDelimiters[0] => 'lexUnsanitizedTagStatement',
            $this->commentDelimiters[0] => 'lexCommentStatement',
            '<?php' => 'lexPhpStatement',
            '<?' => 'lexPhpStatement'
        ];

        /**
         * In case one delimiter is a substring of the other ("{{" and "{{!"), we want to sort the delimiters
         * so that the longest delimiters come first
         */
        uksort($statements, function ($a, $b) {
            if (strlen($a) > strlen($b)) {
                return -1;
            } else {
                return 1;
            }
        });

        return $statements;
    }
private function getStatementLexingMethods ( ) : array { $ statements = [ $ this -> directiveDelimiters [ 0 ] => 'lexDirectiveStatement' , $ this -> sanitizedTagDelimiters [ 0 ] => 'lexSanitizedTagStatement' , $ this -> unsanitizedTagDelimiters [ 0 ] => 'lexUnsanitizedTagStatement' , $ this -> commentDelimiters [ 0 ] => 'lexCommentStatement' , '<?php' => 'lexPhpStatement' , '<?' => 'lexPhpStatement' ] ; /**
         * In case one delimiter is a substring of the other ("{{" and "{{!"), we want to sort the delimiters
         * so that the longest delimiters come first
         */ uksort ( $ statements , function ( $ a , $ b ) { if ( strlen ( $ a ) > strlen ( $ b ) ) { return - 1 ; } else { return 1 ; } } ) ; return $ statements ; }
Gets a sorted mapping of opening statement delimiters to the lexing methods to call on a match

@return array The mapping of opening statement delimiters to the methods
Gets a sorted mapping of opening statement delimiters to the lexing methods to call on a match