示例#1
0
 /// <summary>
 /// Gets callable wrapper for the object dynamic invocation.
 /// </summary>
 public IPhpCallable AsCallable(RuntimeTypeHandle callerCtx = default(RuntimeTypeHandle)) => _type.AsCallable(ref this, callerCtx);
示例#2
0
        public PhpArray AsArray() => _type.AsArray(ref this);   // TODO: return IPhpArrayOperators

        /// <summary>
        /// Gets callable wrapper for the object dynamic invocation.
        /// </summary>
        /// <returns></returns>
        public IPhpCallable AsCallable() => _type.AsCallable(ref this);