Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CallCenter.php

function CallCenter::indentArguments

Parameters

string[] $arguments:

int $indentationLength:

Return value

string[]

1 call to CallCenter::indentArguments()
CallCenter::createUnexpectedCallException in vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php

File

vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php, line 225

Class

CallCenter
Calls receiver & manager.

Namespace

Prophecy\Call

Code

private function indentArguments(array $arguments, $indentationLength) {
    return preg_replace_callback('/^/m', function () use ($indentationLength) {
        return str_repeat(' ', $indentationLength);
    }, $arguments);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal