You are here

public function NodeExtension::hasFlag in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/XPath/Extension/NodeExtension.php \Symfony\Component\CssSelector\XPath\Extension\NodeExtension::hasFlag()

Parameters

int $flag:

Return value

bool

3 calls to NodeExtension::hasFlag()
NodeExtension::setFlag in vendor/symfony/css-selector/XPath/Extension/NodeExtension.php
NodeExtension::translateAttribute in vendor/symfony/css-selector/XPath/Extension/NodeExtension.php
NodeExtension::translateElement in vendor/symfony/css-selector/XPath/Extension/NodeExtension.php

File

vendor/symfony/css-selector/XPath/Extension/NodeExtension.php, line 71

Class

NodeExtension
XPath expression translator node extension.

Namespace

Symfony\Component\CssSelector\XPath\Extension

Code

public function hasFlag($flag) {
  return $this->flags & $flag;
}