ammendFieldAttributes method
intergrated laravel container for better class resolution