Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 21, 2024 via composer

doctrine/event-manager 2.0.0

The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.
Package summary
Share
0
issues
1
license
1
MIT
Package created
7 Jun 2018
Version published
12 Oct 2022
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
doctrine/event-manager@2.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of doctrine/event-manager 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does doctrine/event-manager do?

The Doctrine Event Manager is a highly efficient PHP tool that provides an easy-to-use event system. This valuable resource is utilized across numerous Doctrine projects, offering developers a simplified way to manage and coordinate event-centric activities and processes within their code.

How do you use doctrine/event-manager?

Utilizing the Doctrine Event Manager within your PHP projects is a straightforward process. First, install the package using Composer, the most popular package manager for PHP. To do this, simply run composer require doctrine/event-manager in your console. Once installed, you might use it by creating an instance of the EventManager, attaching listeners to it and then triggering events of your choice. Here's a short example:

$eventManager = new \Doctrine\Common\EventManager();

// Add your listeners here
$eventManager->addEventListener('my-event', $myListener);

// Triggering the event
$eventManager->dispatchEvent('my-event');

In this code, $myListener would be an object of a class that contains a method my-event. When the 'my-event' event is triggered, this method gets called.

Where are the doctrine/event-manager docs?

You can find comprehensive and descriptive documentation about the Doctrine Event Manager on the official Doctrine website at the following URL: https://www.doctrine-project.org/projects/doctrine-event-manager/en/latest/. You're encouraged to explore this documentation for in-depth tutorials, examples, and usage guidelines to make the best out of this area of the Doctrine project.