Get the first record matching the attributes or instantiate it.
public firstOrNew ( array $attributes, array $values = [] ) : |
||
$attributes | array | |
$values | array | |
Результат |
public firstOrNew ( array $attributes, array $values = [] ) : |
||
$attributes | array | |
$values | array | |
Результат |