mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 23:52:33 +01:00
9 lines
165 B
PHP
Executable File
9 lines
165 B
PHP
Executable File
<?php
|
|
|
|
class Product extends EntityModel
|
|
{
|
|
public static function findProductByKey($key)
|
|
{
|
|
return Product::scope()->where('product_key','=',$key)->first();
|
|
}
|
|
} |