Download the PHP package limingxinleo/swoft-entity-event without Composer
On this page you can find all versions of the php package limingxinleo/swoft-entity-event. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package swoft-entity-event
swoft-entity-event
安装
composer require limingxinleo/swoft-entity-event
使用
定义事件监听器
使用
<?php
use SwoftTest\Testing\Entity\User;
use Swoftx\EntityEvent\Event;
$uniqid = uniqid();
$user = new User();
$user->setName($uniqid);
$user->setRoleId(1);
$event = bean(Event::class);
$id = $event->create($user);
All versions of swoft-entity-event with dependencies
PHP Build Version
Package Version
The package limingxinleo/swoft-entity-event contains the following files
Loading the files please wait ....