Srnable
trait Srnable
The SRNable trait provides an easy interface to generate and find by SRNs
Methods
string
getSrn()
Return model's SRN. Model should implement a 'srn_name' protected value.
object
findFirstBySrn(string $srn)
Find model by SRN
Details
at line line 18
string
getSrn()
Return model's SRN. Model should implement a 'srn_name' protected value.
Otherwise, this will pull from the 'getSource' method
at line line 37
object
findFirstBySrn(string $srn)
Find model by SRN