for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Loom
*
* @copyright Copyright (c) 2014 Warrick Bayman.
* @author Warrick Bayman <[email protected]>
* @license MIT License http://opensource.org/licenses/MIT
*/
namespace Loom;
* Class Hours
* @package Loom
class Hours extends AbstractUnit
{
* Return the hours in milliseconds
* @return int
public function toMilliseconds()
return $this->value * 60 * 60 * 1000;
}