MyGit

v1.58.0

symfony/maker-bundle

版本发布时间: 2024-04-06 23:08:31

symfony/maker-bundle最新发布版本:v1.61.0(2024-08-30 06:50:41)

Howdy Makers,

We've added not one, but two, brand spanking new makers to the bundle! make:webhook handles a bit of the grunt work needed to get your app responding to external events using Symfony's Webhook Component. But what about generating that report every Monday at 3am? Don't worry, MakerBundle can handle that too, turn off your alarm clock and type make:schedule to generate a new schedule for Symfony's Scheduler Component .

Both of these components are fairly new - we look forward to hearing your feedback on how we can make either of these maker's better. In the meantime, checkout the docs below for each component.

In other news, make:entity can now handle is'ers and has'ers a bit better. If your entity has a property, say $isPizzaGood, maker will generate public function isPizzaGood() instead of isIsPizzaGood(). And, if your entity happens to have a collection of pizza's - it adds the appropriate DocBlock annotation to the property to aid in static analysis & code completion. E.g.

/** @var Collection<int, Pizza> */
#[ORM\MandToOne(....)
private Collection $pizza;

Enjoy!

v1.58.0

April 6th, 2024

Feature

Bug

New Contributors

Diff: https://github.com/symfony/maker-bundle/compare/v1.57.0...v1.58.0

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-04-06发行的版本