NextDom\Helpers\Utils::cast

Convert object of type to another