pinchpi_object (pinchpi v0.1.0)
Summary
Functions
-spec bind_prop_ref(term(), binary(), pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec call_method(term(), binary(), [pinchpi_struct:struct_map()], boolean(), pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec call_static(binary() | pinchpi_struct:struct_map(), binary() | pinchpi_struct:struct_map(), [pinchpi_struct:struct_map()], pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec check_instance_prop_access(binary(), binary(), pinchpi_context:ctx()) -> {ok, pinchpi_context:ctx()} | {error_vis, binary(), binary()}.
-spec check_visibility(public | protected | private, binary(), binary() | undefined, pinchpi_context:ctx()) -> ok | {error, binary()}.
-spec clone_instance(term(), pinchpi_context:ctx()) -> {pinchpi_struct:struct_map() | {throw, term()} | {fatal, term(), term()}, pinchpi_context:ctx()}.
-spec find_method(binary(), binary(), pinchpi_context:ctx()) -> {ok, pinchpi_struct:struct_map()} | error.
-spec get_prop(term(), binary(), boolean(), pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec index_class_members(pinchpi_struct:struct_map()) -> pinchpi_struct:struct_map().
-spec init_hierarchy_props(pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> {map(), pinchpi_context:ctx()}.
-spec instance_of(term(), binary(), pinchpi_context:ctx()) -> boolean().
-spec is_subclass_or_impl(binary(), binary(), pinchpi_context:ctx()) -> boolean().
-spec isset_prop(term(), binary(), pinchpi_context:ctx()) -> {boolean(), pinchpi_context:ctx()}.
-spec maybe_destruct(term(), pinchpi_context:ctx()) -> pinchpi_context:ctx() | {{throw, term()}, pinchpi_context:ctx()}.
-spec method_exists(term(), binary(), pinchpi_context:ctx()) -> boolean().
-spec new_instance(binary(), [pinchpi_struct:struct_map()], pinchpi_context:ctx()) -> {pinchpi_struct:struct_map() | {throw, term()} | {fatal, binary(), pos_integer()}, pinchpi_context:ctx()}.
-spec object_to_php_array(pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> pinchpi_array:php_array().
-spec offset_get_by_ref(binary(), pinchpi_context:ctx()) -> boolean().
-spec run_destructors(pinchpi_context:ctx()) -> pinchpi_context:ctx() | {{throw, term()}, pinchpi_context:ctx()}.
-spec set_prop(term(), binary(), term(), pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec static_access(binary() | pinchpi_struct:struct_map(), binary(), pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec to_string(pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> {ok, term(), pinchpi_context:ctx()} | error.
-spec try_autoload(binary(), pinchpi_context:ctx()) -> {boolean(), pinchpi_context:ctx()}.
-spec validate_class_inheritance(binary(), pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> ok | {fatal, binary(), pos_integer()}.