according to PHPDoc this function shall return the entity

@th3fallen  @bantu @Raydiation @nickvergessen THX