/** * Returns if the method is a generator. * * @return boolean */ public function isGenerator() { return PHP_VERSION_ID >= 50500 ? parent::isGenerator() : null; }