/** * @return bool * True if this method yields any value(i.e. it is a \Generator) */ public function getHasYield() : bool { return Flags::bitVectorHasState($this->getPhanFlags(), Flags::HAS_YIELD); }