1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:
<?php namespace Scene7\Commands; trait Timeout { /** * @param int $milliseconds * @return $this */ public function setTimeout($milliseconds) { $this->addCommand(['timeout' => (int) $milliseconds]); return $this; } }