You are here

public function Twig_Environment::getBinaryOperators in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Environment.php \Twig_Environment::getBinaryOperators()

Gets the registered binary Operators.

Return value

array An array of binary operators

File

vendor/twig/twig/lib/Twig/Environment.php, line 1245

Class

Twig_Environment
Stores the Twig configuration.

Code

public function getBinaryOperators() {
  if (!$this->extensionInitialized) {
    $this
      ->initExtensions();
  }
  return $this->binaryOperators;
}