function OptimizedPhpArrayDumper::supportsMachineFormat

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper::supportsMachineFormat()
  2. 10 core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper::supportsMachineFormat()
  3. 11.x core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper::supportsMachineFormat()

Whether this supports the machine-optimized format or not.

Return value

bool TRUE if this supports machine-optimized format, FALSE otherwise.

1 call to OptimizedPhpArrayDumper::supportsMachineFormat()
OptimizedPhpArrayDumper::getArray in core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
Gets the service container definition as a PHP array.
1 method overrides OptimizedPhpArrayDumper::supportsMachineFormat()
PhpArrayDumper::supportsMachineFormat in core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php
Whether this supports the machine-optimized format or not.

File

core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 527

Class

OptimizedPhpArrayDumper
OptimizedPhpArrayDumper dumps a service container as a serialized PHP array.

Namespace

Drupal\Component\DependencyInjection\Dumper

Code

protected function supportsMachineFormat() {
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.