public function __construct(Connection $connection, $filesDir) { $this->connection = $connection; $this->filesDir = $filesDir; }