You are here

public function Twig_Profiler_Profile::serialize in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/Profiler/Profile.php \Twig_Profiler_Profile::serialize()

File

vendor/twig/twig/lib/Twig/Profiler/Profile.php, line 151

Class

Twig_Profiler_Profile
@author Fabien Potencier <fabien@symfony.com>

Code

public function serialize() {
  return serialize(array(
    $this->template,
    $this->name,
    $this->type,
    $this->starts,
    $this->ends,
    $this->profiles,
  ));
}