Migration::getTableForField
Allows to you fetch the specific table (and thus DataObject) that a particular field exists on, since they're merged at runtime. This will actually iterate through the class ancestry in order to determine the table in which a field actually exists.
Signature
public function getTableForField(string
$className,
string
$field )
Parameters
$className
— string$field
— string
Returns
- string