File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
phper-doc/doc/_06_module/_07_register_interface Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ If you want the interface `Foo` extends `ArrayAccess` and `Iterator` interfaces.
4242
4343``` rust,no_run
4444use phper::classes::{Interface, InterfaceEntity, ClassEntry};
45- use phper::classes::{array_access_class, iterator_class};
4645
4746let mut foo = InterfaceEntity::new("Foo");
4847foo.extends(Interface::from_name("ArrayAccess"));
Original file line number Diff line number Diff line change @@ -36,18 +36,6 @@ use std::{
3636 slice,
3737} ;
3838
39- /// Predefined interface `Iterator`.
40- #[ inline]
41- pub fn iterator_class < ' a > ( ) -> & ' a ClassEntry {
42- unsafe { ClassEntry :: from_ptr ( zend_ce_iterator) }
43- }
44-
45- /// Predefined interface `ArrayAccess`.
46- #[ inline]
47- pub fn array_access_class < ' a > ( ) -> & ' a ClassEntry {
48- unsafe { ClassEntry :: from_ptr ( zend_ce_arrayaccess) }
49- }
50-
5139/// Wrapper of [zend_class_entry].
5240#[ derive( Clone ) ]
5341#[ repr( transparent) ]
You can’t perform that action at this time.
0 commit comments