getHaystackExpr()), new Arg($strStartsWith->getNeedleExpr())]; $funcCall = new FuncCall(new Name('str_starts_with'), $args); if ($strStartsWith->isPositive()) { return $funcCall; } return new BooleanNot($funcCall); } }