文件操作 - Delete.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiOperations/Delete.php
编辑文件内容
<?php namespace Stripe\ApiOperations; /** * Trait for deletable resources. Adds a `delete()` method to the class. * * This trait should only be applied to classes that derive from StripeObject. */ trait Delete { /** * @param null|array $params * @param null|array|string $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return static the deleted resource */ public function delete($params = null, $opts = null) { self::_validateParams($params); $url = $this->instanceUrl(); list($response, $opts) = $this->_request('delete', $url, $params, $opts); $this->refreshFrom($response, $opts); return $this; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件