'Varchar' ]; private static $many_many = [ // note: using 'MyManyMany' as name to otherise will get // mysqli_sql_exception: Incorrect table name'BelongsManyManySubSubEagerLoadObject_BelongsManyManySubEagerLoadObjects' // or 'BelongsManyManySubSubEagerLoadObject_BelongsManyManySubEagerLoadObjects' // for relationships named BelongsManyManySubEagerLoadObjects (plural) and // BelongsManyManySubEagerLoadObject (singular) 'MyManyMany' => BelongsManyManySubEagerLoadObject::class ]; }