Skip to content
Commits on Source (3)
......@@ -172,9 +172,15 @@
"version": "v0.1.60",
"source": {
"type": "git",
"url": "git@gitlab.tugraz.at:dbp/relay/dbp-relay-core-bundle.git",
"url": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle.git",
"reference": "93b24a94a428ac21c8ef0262ebea3c1bf7a7823d"
},
"dist": {
"type": "zip",
"url": "https://gitlab.tugraz.at/api/v4/projects/dbp%2Frelay%2Fdbp-relay-core-bundle/repository/archive.zip?sha=93b24a94a428ac21c8ef0262ebea3c1bf7a7823d",
"reference": "93b24a94a428ac21c8ef0262ebea3c1bf7a7823d",
"shasum": ""
},
"require": {
"api-platform/core": "^2.6.8 <2.7.0",
"doctrine/annotations": "^1.13",
......@@ -272,7 +278,11 @@
"AGPL-3.0-or-later"
],
"description": "The core bundle of the Relay API gateway",
"time": "2022-11-16T10:38:53+00:00"
"support": {
"source": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle/-/tree/v0.1.60",
"issues": "https://gitlab.tugraz.at/dbp/relay/dbp-relay-core-bundle/-/issues"
},
"time": "2022-11-16T11:38:53+01:00"
},
{
"name": "doctrine/annotations",
......@@ -7683,16 +7693,16 @@
},
{
"name": "phpunit/php-code-coverage",
"version": "9.2.18",
"version": "9.2.19",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a"
"reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/12fddc491826940cf9b7e88ad9664cf51f0f6d0a",
"reference": "12fddc491826940cf9b7e88ad9664cf51f0f6d0a",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c77b56b63e3d2031bd8997fcec43c1925ae46559",
"reference": "c77b56b63e3d2031bd8997fcec43c1925ae46559",
"shasum": ""
},
"require": {
......@@ -7748,7 +7758,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.18"
"source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.19"
},
"funding": [
{
......@@ -7756,7 +7766,7 @@
"type": "github"
}
],
"time": "2022-10-27T13:35:33+00:00"
"time": "2022-11-18T07:47:47+00:00"
},
{
"name": "phpunit/php-file-iterator",
......@@ -10078,5 +10088,5 @@
"platform-overrides": {
"php": "7.3"
},
"plugin-api-version": "2.2.0"
"plugin-api-version": "2.3.0"
}
<?php
declare(strict_types=1);
namespace Dbp\Relay\BasePersonBundle\Event;
use Dbp\Relay\BasePersonBundle\Entity\Person;
use Dbp\Relay\CoreBundle\LocalData\LocalDataAwarePostEvent;
class PersonProviderPostEvent extends LocalDataAwarePostEvent
{
public const NAME = 'dbp.relay.base_person_bundle.person_provider.post';
/** @var array */
private $sourceData;
/** @var Person */
private $person;
public function __construct(array $sourceData, Person $person)
{
parent::__construct($person);
$this->sourceData = $sourceData;
$this->person = $person;
}
public function getEntity(): Person
{
return $this->person;
}
public function getSourceData(): array
{
return $this->sourceData;
}
}