business\TimeInterval::jsonSerialize PHP Méthode

jsonSerialize() public méthode

public jsonSerialize ( )
    public function jsonSerialize()
    {
        return ['start' => $this->start, 'end' => $this->end];
    }