Skip to content

Instantly share code, notes, and snippets.

View manifest.development.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
<Id>0f0c9c1f-954d-4ce0-a903-a7959a3d82d5</Id>
<Version>1.0.0.4</Version>
<ProviderName>Fraud.net</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="Fraud.net ~ Dev"/>
<Description DefaultValue="Invoice Risk Assistant"/>
<IconUrl DefaultValue="https://fraudnet.s3.amazonaws.com/assets/icon-64.png"/>
<HighResolutionIconUrl DefaultValue="https://fraudnet.s3.amazonaws.com/assets/icon-128.png"/>
View oo.php
<?php
// Define the 'class' class
$class = Obj()
->fn('new', function ($class) {
$newClass = Obj($class->methods)
->fn('new', function($class) {
$obj = Obj($class->imethods);
$args = func_get_args();
array_shift($args);