How laravel can inject function to object in their ORM 2024-11-17 456 The technique they have used are "trait", "magic function" and "call_user_func_array". The whole thing work in runtime, not compile time.…