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