Download src/Stat/Domain/Entities/OrderStatEntity.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Stat/Domain/Entities/OrderStatEntity.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Stat/Domain/Entities/OrderStatEntity.php
-
curl -L -o OrderStatEntity.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Stat/Domain/Entities/OrderStatEntity.php
350 Bytes
| declare(strict_types=1); | |
| namespace Stat\Domain\Entities; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Stat\Domain\ValueObjects\Metric; | |
| #[ORM\Entity] | |
| class OrderStatEntity extends AbstractStatEntity | |
| { | |
| public function __construct() | |
| { | |
| parent::__construct(); | |
| $this->incrementMetric( | |
| new Metric(1) | |
| ); | |
| } | |
| } | |