You are here

public function Carbon::subMinutes in Persian Date for Drupal 8 8.4

Remove minutes from the instance

Parameters

int $value:

Return value

static

1 call to Carbon::subMinutes()
Carbon::subMinute in src/Library/Carbon/Carbon.php
Remove a minute from the instance

File

src/Library/Carbon/Carbon.php, line 2511

Class

Carbon
A simple API extension for DateTime

Namespace

Drupal\persian_date\Library\Carbon

Code

public function subMinutes($value) {
  return $this
    ->addMinutes(-1 * $value);
}