public CompiledRoute::serialize()
Overrides CompiledRoute::serialize
File
- core/lib/Drupal/Core/Routing/CompiledRoute.php, line 143
Class
- CompiledRoute
- A compiled route contains derived information from a route object.
Namespace
Drupal\Core\Routing
Code
1 2 3 4 5 6 7 8 9 10 | public function serialize() { // Calling the parent method is safer than trying to optimize out the extra // function calls. $data = unserialize(parent::serialize()); $data [ 'fit' ] = $this ->fit; $data [ 'patternOutline' ] = $this ->patternOutline; $data [ 'numParts' ] = $this ->numParts; return serialize( $data ); } |
Please login to continue.