public function __construct($gremlin, $config, $subtask = Tasks::IS_NOT_SUBTASK) { $this->enabledLog = false; parent::__construct($gremlin, $config, $subtask); }
public function __construct($gremlin, $config, $subtask = Tasks::IS_NOT_SUBTASK) { parent::__construct($gremlin, $config, $subtask); $this->php = new Phpexec(); if (!$this->php->isValid()) { throw new InvalidPHPBinary($this->php->getVersion()); } self::$PROP_OPTIONS = array('alternative' => self::$PROP_ALTERNATIVE, 'reference' => self::$PROP_REFERENCE, 'heredoc' => self::$PROP_HEREDOC, 'delimiter' => self::$PROP_DELIMITER, 'noDelimiter' => self::$PROP_NODELIMITER, 'variadic' => self::$PROP_VARIADIC, 'count' => self::$PROP_COUNT, 'fullnspath' => self::$PROP_FNSNAME, 'absolute' => self::$PROP_ABSOLUTE, 'alias' => self::$PROP_ALIAS, 'origin' => self::$PROP_ORIGIN, 'encoding' => self::$PROP_ENCODING, 'intval' => self::$PROP_INTVAL, 'strval' => self::$PROP_STRVAL, 'enclosing' => self::$PROP_ENCLOSING, 'args_max' => self::$PROP_ARGS_MAX, 'args_min' => self::$PROP_ARGS_MIN, 'bracket' => self::$PROP_BRACKET, 'close_tag' => self::$PROP_CLOSETAG); $this->php->getTokens(); Precedence::preloadConstants($this->php->getActualVersion()); $this->precedence = new Precedence(); }