This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Acme; | |
use Carbon\Carbon; | |
// now, this class only gets the sales between the given dates. | |
// It doesn't deal with how with sales are stored, it doesn't | |
// deal with how to format the output, it doesn't deal with Auth | |
class SalesReporter |