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