Get the first record matching the attributes or create it.
public static firstOrCreate ( array $attributes ) : |
||
$attributes | array | |
return |
public static firstOrCreate ( array $attributes ) : |
||
$attributes | array | |
return |