Do you mean feature-to-polygon (your link isn't working)? This would require an advanced license. If you are looking to recreate that functionality from scratch there are not posted solutions that emulate it for all cases given the rule set to construct polygons from lower geometries in all cases.
Do you have a particular use case that you want to perform that is easier like a convex hull? Perhaps you need to provide an example of what you need to do.
Maybe not the best ArcGIS answer, but if you have no other option you should look at the QGIS Polygonize tool, which can be found in the Processing Toolbox - won't work with Esri Feature Classes of course, but it's free .