You are here

protected function OptimizedPhpArrayDumper::supportsMachineFormat in Service Container 7

Same name and namespace in other branches
  1. 7.2 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 lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php
Gets the service container definition as a PHP array.
1 method overrides OptimizedPhpArrayDumper::supportsMachineFormat()
PhpArrayDumper::supportsMachineFormat in lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php
Whether this supports the machine-optimized format or not.

File

lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 509
Contains \Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper.

Class

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

Namespace

Drupal\Component\DependencyInjection\Dumper

Code

protected function supportsMachineFormat() {
  return TRUE;
}