1 | <?php |
||
15 | class WordPoints_App_Registry |
||
16 | extends WordPoints_App |
||
17 | implements WordPoints_Class_RegistryI { |
||
18 | |||
19 | /** |
||
20 | * The class registry object. |
||
21 | * |
||
22 | * @since 1.0.0 |
||
23 | * |
||
24 | * @var WordPoints_Class_Registry |
||
25 | */ |
||
26 | protected $registry; |
||
27 | |||
28 | /** |
||
29 | * @since 1.0.0 |
||
30 | */ |
||
31 | public function __construct( $slug ) { |
||
32 | |||
33 | $this->registry = new WordPoints_Class_Registry(); |
||
34 | |||
35 | parent::__construct( $slug ); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @since 1.0.0 |
||
40 | */ |
||
41 | public function get_all( array $args = array() ) { |
||
44 | |||
45 | /** |
||
46 | * @since 1.0.0 |
||
47 | */ |
||
48 | public function get_all_slugs() { |
||
51 | |||
52 | /** |
||
53 | * @since 1.0.0 |
||
54 | */ |
||
55 | public function get( $slug, array $args = array() ) { |
||
58 | |||
59 | /** |
||
60 | * @since 1.0.0 |
||
61 | */ |
||
62 | public function register( $slug, $class, array $args = array() ) { |
||
65 | |||
66 | /** |
||
67 | * @since 1.0.0 |
||
68 | */ |
||
69 | public function deregister( $slug ) { |
||
72 | |||
73 | /** |
||
74 | * @since 1.0.0 |
||
75 | */ |
||
76 | public function is_registered( $slug ) { |
||
79 | } |
||
80 | |||
82 |