I want to get content keys both by asset and by asset ID. Having one method is more handy then two methods with different names. In Java it would be two methods with same name and different parameter types (overloaded methods). But PHP doesn't have method overload. The same behavior could be reached passing the value of different types and check the type inside a method.