DiDom\Query::getCompiled PHP Метод

getCompiled() публичный статический Метод

public static getCompiled ( ) : array
Результат array
    public static function getCompiled()
    {
        return static::$compiled;
    }

Usage Example

Пример #1
0
 public function testGetCompiled()
 {
     Query::setCompiled([]);
     $selector = '.post h2';
     $xpath = '//*[contains(concat(" ", normalize-space(@class), " "), " post ")]//h2';
     $compiled = [$selector => $xpath];
     Query::compile($selector);
     $this->assertEquals($compiled, Query::getCompiled());
 }
All Usage Examples Of DiDom\Query::getCompiled