Issues (259)

Mapping/CallDefinitionInterface.php (1 issue)

1
<?php
2
/**
3
 * Copyright (C) 2018 Gerrit Addiks.
4
 * This package (including this file) was released under the terms of the GPL-3.0.
5
 * You should have received a copy of the GNU General Public License along with this program.
6
 * If not, see <http://www.gnu.org/licenses/> or send me a mail so i can send you a copy.
7
 *
8
 * @license GPL-3.0
9
 *
10
 * @author Gerrit Addiks <[email protected]>
11
 */
12
13
namespace Addiks\RDMBundle\Mapping;
14
15
use Addiks\RDMBundle\Hydration\HydrationContextInterface;
16
use Symfony\Component\DependencyInjection\ContainerInterface;
17
18
interface CallDefinitionInterface
19
{
20
21
    /**
22
     * @param array<array-key, mixed> $dataFromAdditionalColumns
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<array-key, mixed> at position 2 could not be parsed: Unknown type name 'array-key' at position 2 in array<array-key, mixed>.
Loading history...
23
     *
24
     * @return mixed
25
     */
26
    public function execute(
27
        HydrationContextInterface $context,
28
        array $dataFromAdditionalColumns
29
    );
30
31
    public function getObjectReference(): ?string;
32
33
    public function getRoutineName(): string;
34
35
    /**
36
     * @return array<MappingInterface>
37
     */
38
    public function getArgumentMappings(): array;
39
40
    public function isStaticCall(): bool;
41
42
    public function wakeUpCall(ContainerInterface $container): void;
43
44
}
45