PluginProbe
Restrict User Access – Ultimate Membership & Content Protection / 2.8
Restrict User Access – Ultimate Membership & Content Protection v2.8
trunk 1.3 2.0 2.1.3 2.2.3 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.5 2.6 2.6.1 2.7 2.7.1 2.8 2.8.1
restrict-user-access / src / Container / ContainerInterface.php

ContainerInterface.php in Restrict User Access – Ultimate Membership & Content Protection 2.8, at src/Container/ContainerInterface.php

42 lines 868 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace RestrictUserAccess\Container;
4
5 /**
6 * Interface ContainerInterface
7 *
8 * @author Joachim Jensen <joachim@dev.institute>
9 * @license https://www.gnu.org/licenses/gpl-3.0.html
10 */
11 interface ContainerInterface
12 {
13 /**
14 * @param string $id
15 * @return mixed
16 */
17 public function get($id);
18
19 /**
20 * @param string $id
21 * @return bool
22 */
23 public function has($id);
24
25 /**
26 * @param string $id
27 * @param string|callable|null $concrete
28 * @param array $arguments
29 * @param bool $shared
30 * @return void
31 */
32 public function set($id, $concrete = null, $arguments = [], $shared = false);
33
34 /**
35 * @param string $id
36 * @param string|callable|null $concrete
37 * @param array $arguments
38 * @return void
39 */
40 public function singleton($id, $concrete = null, $arguments = []);
41 }
42