本文整理汇总了PHP中Administration::getInstance方法的典型用法代码示例。如果您正苦于以下问题:PHP Administration::getInstance方法的具体用法?PHP Administration::getInstance怎么用?PHP Administration::getInstance使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Administration
的用法示例。
在下文中一共展示了Administration::getInstance方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Client
$client2 = new Client('Georgi', 8985234624, $client2Assets, $proxy2);
$client3Assets = [new Assets('house', 300000), new Assets('stocks', 100000)];
$client3 = new Client('Georgi', 8985456724, $client3Assets);
$client4Assets = [new Assets('house', 400000), new Assets('car', 50000)];
$client4 = new Client('Georgi', 8985464994, $client4Assets);
$client5Assets = [new Assets('house', 500000), new Assets('stocks', 800000)];
$client5 = new Client('Georgi', 8985469894, $client5Assets);
Administration::getInstance()->newDeclaration($proxy1);
Administration::getInstance()->newDeclaration($client1);
Administration::getInstance()->newDeclaration($proxy2);
Administration::getInstance()->newDeclaration($client2);
Administration::getInstance()->newDeclaration($client3);
Administration::getInstance()->newDeclaration($client4);
Administration::getInstance()->newDeclaration($client5);
Administration::getInstance()->checkTaxes($proxy1);
Administration::getInstance()->checkTaxes($client1);
Administration::getInstance()->checkTaxes($proxy2);
Administration::getInstance()->checkTaxes($client2);
Administration::getInstance()->checkTaxes($client3);
Administration::getInstance()->checkTaxes($client4);
Administration::getInstance()->checkTaxes($client5);
Administration::getInstance()->payTaxes($proxy1);
Administration::getInstance()->payTaxes($client1);
Administration::getInstance()->payTaxes($proxy2);
Administration::getInstance()->payTaxes($client2);
Administration::getInstance()->payTaxes($client3);
Administration::getInstance()->payTaxes($client4);
Administration::getInstance()->payTaxes($client5, 'house');
Administration::getInstance()->allNotPaid();
Administration::getInstance()->allDeclarationsAtDate(9, 3, 2016);