public static object __construct(object instance, PhpStack stack) { var filename = stack.PeekValue(1); stack.RemoveFrame(); return(((SplFileInfo)instance).__construct(stack.Context, filename)); }
public static new object __construct(object instance, PhpStack stack) { var path = stack.PeekValue(1); stack.RemoveFrame(); return(((DirectoryIterator)instance).__construct(stack.Context, path)); }
public static object seek(object instance, PhpStack stack) { object position = stack.PeekValue(1); stack.RemoveFrame(); return(((DirectoryIterator)instance).seek(stack.Context, position)); }
public static new object __construct(object instance, PhpStack stack) { var arg1 = stack.PeekValue(1); stack.RemoveFrame(); return(((SplFileObject)instance).__construct(stack.Context, arg1)); }
public static object seek(object instance, PhpStack stack) { var arg1 = stack.PeekValue(1); stack.RemoveFrame(); return(((SplFileObject)instance).seek(stack.Context, arg1)); }
public static object offsetExists(object instance, PhpStack stack) { var index = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).offsetExists(stack.Context, index)); }
public static object hasChildren(object instance, PhpStack stack) { var allowLinks = stack.PeekValueOptional(1); stack.RemoveFrame(); return(((RecursiveDirectoryIterator)instance).hasChildren(stack.Context /*, allowLinks*/)); }
public static object uksort(object instance, PhpStack stack) { var cmp_function = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).uksort(stack.Context, cmp_function)); }
public static object unserialize(object instance, PhpStack stack) { var serialized = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).unserialize(stack.Context, serialized)); }
public static object setIteratorClass(object instance, PhpStack stack) { var iterator_class = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).setIteratorClass(stack.Context, iterator_class)); }
public static object setFlags(object instance, PhpStack stack) { var flags = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).setFlags(stack.Context, flags)); }
public static object exchangeArray(object instance, PhpStack stack) { var input = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).exchangeArray(stack.Context, input)); }
public static object getOffset(object instance, PhpStack stack) { var arg1 = stack.PeekValue(1); stack.RemoveFrame(); return(((DateTimeZone)instance).getOffset(stack.Context, arg1)); }
public static object addEmptyDir(object instance, PhpStack stack) { object dirname = stack.PeekValue(1); stack.RemoveFrame(); return(((ZipArchive)instance).addEmptyDir(stack.Context, dirname)); }
public static object offsetUnset(object instance, PhpStack stack) { object index = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayAccess)instance).offsetUnset(stack.Context, index)); }
public static object getStream(object instance, PhpStack stack) { object name = stack.PeekValue(1); stack.RemoveFrame(); return(((ZipArchive)instance).getStream(stack.Context, name)); }
public static object deleteIndex(object instance, PhpStack stack) { object index = stack.PeekValue(1); stack.RemoveFrame(); return(((ZipArchive)instance).deleteIndex(stack.Context, index)); }
public static object getArchiveComment(object instance, PhpStack stack) { object flags = stack.PeekValue(1); stack.RemoveFrame(); return(((ZipArchive)instance).getArchiveComment(stack.Context, flags)); }
public static object getProperty(object instance, PhpStack stack) { var name = stack.PeekValueOptional(1); stack.RemoveFrame(); return(((ReflectionClass)instance).getProperty(stack.Context, name)); }
public static object Remove(object instance, PhpStack stack) { object arg = stack.PeekValue(1); stack.RemoveFrame(); return(((EventClass <T>)instance).Remove(stack.Context, arg)); }
public static object append(object instance, PhpStack stack) { var value = stack.PeekValue(1); stack.RemoveFrame(); return(((ArrayObject)instance).append(stack.Context, value)); }
public static object getMethods(object instance, PhpStack stack) { var filter = stack.PeekValueOptional(1); stack.RemoveFrame(); return(((ReflectionClass)instance).getMethods(stack.Context, filter)); }
public static object hasProperty(object instance, PhpStack stack) { object args = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).hasProperty(stack.Context, args)); }
public static object getConstant(object instance, PhpStack stack) { object argName = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).getConstant(stack.Context, argName)); }
public static object isSubclassOf(object instance, PhpStack stack) { var @class = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).isSubclassOf(stack.Context, @class)); }
public static object newInstanceArgs(object instance, PhpStack stack) { object args = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).newInstanceArgs(stack.Context, args)); }
public static object __construct(object instance, PhpStack stack) { object argument = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).__construct(stack.Context, argument)); }
public static object isInstance(object instance, PhpStack stack) { var obj = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).isInstance(stack.Context, obj)); }
public static object setArchiveComment(object instance, PhpStack stack) { object comment = stack.PeekValue(1); stack.RemoveFrame(); return(((ZipArchive)instance).setArchiveComment(stack.Context, comment)); }
public static object implementsInterface(object instance, PhpStack stack) { var ifacename = stack.PeekValue(1); stack.RemoveFrame(); return(((ReflectionClass)instance).implementsInterface(stack.Context, ifacename)); }
/// <summary> /// Dispatches the invocation to a constructed method according to type arguments on the stack. /// </summary> /// <remarks> /// Constructed methods are cached in the <see cref="instantiations"/> dictionary. /// </remarks> private object ArglessPreStub(object instance, PhpStack/*!*/ stack) { // get type arguments from the stack DTypeDescs type_args = new DTypeDescs(stack); ClrMethodDesc method_desc; lock (instantiations) { if (!instantiations.TryGetValue(type_args, out method_desc)) { method_desc = ConstructMethodDesc(type_args); if (method_desc == null) return null; instantiations.Add(type_args, method_desc); } } return method_desc.ArglessStub(instance, stack); }
public object Invoke(DObject instance, PhpStack stack, DTypeDesc caller) { stack.AllowProtectedCall = AllowProtectedCall(caller); return Invoke(instance, stack); }
public object Invoke(DObject instance, PhpStack stack) { return ArglessStub(instance == null ? null : instance.InstanceObject, stack); }