public function getHoursLoggedFor($startDate, $endDate, $project = null, $branches = null)
    {
        $response = $this->summaries($startDate, $endDate, $project, $branches);

        return $this->calculateHoursLogged($response);
    }
public function getHoursLoggedFor($startDate, $endDate, $project = null, $branches = null)
    {
        $response = $this->summaries($startDate, $endDate, $project, $branches);

        return $this->calculateHoursLogged($response);
    }
public function getHoursLoggedFor ( $ startDate , $ endDate , $ project = null , $ branches = null ) { $ response = $ this -> summaries ( $ startDate , $ endDate , $ project , $ branches ) ; return $ this -> calculateHoursLogged ( $ response ) ; }
Calculates hours logged for a specific period.
You can optionally specify a project.

@param $startDate
@param $endDate
@param null $project
@param null|string $branches
@return int
Calculates hours logged for a specific period . You can optionally specify a project .