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