mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +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();
|
|
}
|
|
} |