API Reference
CertificationStorage
Class for managing automatic certification storage
The CertificationStorage class manages automatic storage of certifications in the fne_certifications table.
Methods
save()
Stores a certification in the fne_certifications table.
Parameters:
ResponseDTO $response: Certification responsearray $invoiceData: Original invoice data
Returns: bool - true if stored successfully, false otherwise
Compatibility
- Laravel : Uses Eloquent Model
- Symfony : Uses Doctrine EntityManager or DBAL Connection
- Native PHP : Uses PDO directly
Automatic Detection
The class automatically detects the framework used and uses the appropriate method:
Error Handling
If storage fails, the method returns false and the error is logged. Certification continues normally.
See Also
- Automatic Certification Storage - Complete guide
- FNECertification Model - Eloquent Model
Need help? Check out the complete documentation or open an issue on GitHub.
