xref: /dokuwiki/vendor/simplepie/simplepie/src/RegistryAware.php (revision 8e88a29b81301f78509349ab1152bb09c229123e)
1<?php
2
3// SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
4// SPDX-License-Identifier: BSD-3-Clause
5
6declare(strict_types=1);
7
8namespace SimplePie;
9
10/**
11 * Handles the injection of Registry into other class
12 *
13 * {@see \SimplePie\SimplePie::get_registry()}
14 */
15interface RegistryAware
16{
17    /**
18     * Set the Registry into the class
19     *
20     * @return void
21     */
22    public function set_registry(Registry $registry);
23}
24