src/Rocketeer/Services/Display/QueueTimer.php
public function saveTime(IdentifierInterface $entity, $time)
    {
        // Don't save times in pretend mode
        if ($this->getOption('pretend')) {
            return;
        }

        // Append the new time to past ones
        $past = $this->getTimes($entity);
        $past[] = $time;

        $this->saveTimes($entity, $past);
    }
public function saveTime(IdentifierInterface $entity, $time)
    {
        // Don't save times in pretend mode
        if ($this->getOption('pretend')) {
            return;
        }

        // Append the new time to past ones
        $past = $this->getTimes($entity);
        $past[] = $time;

        $this->saveTimes($entity, $past);
    }
public function saveTime ( IdentifierInterface $ entity , $ time ) { // Don't save times in pretend mode if ( $ this -> getOption ( 'pretend' ) ) { return ; } // Append the new time to past ones $ past = $ this -> getTimes ( $ entity ) ; $ past [ ] = $ time ; $ this -> saveTimes ( $ entity , $ past ) ; }
Save the execution time of a task for future reference.

@param IdentifierInterface $entity
@param float               $time
Save the execution time of a task for future reference .