1*d35568b4SGreg Roach<?php 2*d35568b4SGreg Roach 3*d35568b4SGreg Roach/** 4*d35568b4SGreg Roach * webtrees: online genealogy 5*d35568b4SGreg Roach * Copyright (C) 2023 webtrees development team 6*d35568b4SGreg Roach * This program is free software: you can redistribute it and/or modify 7*d35568b4SGreg Roach * it under the terms of the GNU General Public License as published by 8*d35568b4SGreg Roach * the Free Software Foundation, either version 3 of the License, or 9*d35568b4SGreg Roach * (at your option) any later version. 10*d35568b4SGreg Roach * This program is distributed in the hope that it will be useful, 11*d35568b4SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 12*d35568b4SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13*d35568b4SGreg Roach * GNU General Public License for more details. 14*d35568b4SGreg Roach * You should have received a copy of the GNU General Public License 15*d35568b4SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>. 16*d35568b4SGreg Roach */ 17*d35568b4SGreg Roach 18*d35568b4SGreg Roachdeclare(strict_types=1); 19*d35568b4SGreg Roach 20*d35568b4SGreg Roachnamespace Fisharebest\Webtrees\Contracts; 21*d35568b4SGreg Roach 22*d35568b4SGreg Roachuse Psr\Container\ContainerInterface as Psr11ContainerInterface; 23*d35568b4SGreg Roach 24*d35568b4SGreg Roach/** 25*d35568b4SGreg Roach * Extend the PSR-11 container interface with a method to add items. 26*d35568b4SGreg Roach */ 27*d35568b4SGreg Roachinterface ContainerInterface extends Psr11ContainerInterface 28*d35568b4SGreg Roach{ 29*d35568b4SGreg Roach public function set(string $id, object $object): static; 30*d35568b4SGreg Roach} 31