#[macro_use]
extern crate ext_php_rs_derive;
#[php_interface]
trait MyInterface {
const MY_CONST: i32 = 42;
fn my_method(&self, arg: i32) -> String;
}
#[php_interface]
#[php(change_method_case = "UPPER_CASE")]
#[php(change_constant_case = "snake_case")]
trait MyInterface2 {
const MY_CONST: i32 = 42;
#[php(change_case = "PascalCase")]
const ANOTHER_CONST: &'static str = "Hello";
fn my_method(&self, arg: i32) -> String;
#[php(change_case = "PascalCase")]
fn anotherMethod(&self) -> i32;
}