Slack notify
This commit is contained in:
@@ -4,6 +4,7 @@ namespace App\Entity;
|
||||
|
||||
use ApiPlatform\Metadata\ApiResource;
|
||||
use App\Repository\ProductRepository;
|
||||
use App\Repository\StockRepository;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
@@ -93,4 +94,11 @@ class Product
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
public function setStock(Stock $stock): self
|
||||
{
|
||||
|
||||
$this->stock = $stock;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user