Example #1
0
 public function alter(array $updates)
 {
     if (array_key_exists('ALWAYS', $updates)) {
         $this->always = (int) $updates['ALWAYS'];
     }
     return parent::alter($updates);
 }
Example #2
0
 public function __construct($name, SequencesFile $file)
 {
     parent::__construct($file->lockFile);
     $this->name = $name;
     $this->file = $file;
 }