public function PhotosStatisticsUpdateController::__construct in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/Controller/PhotosStatisticsUpdateController.php \Drupal\photos\Controller\PhotosStatisticsUpdateController::__construct()
Constructor.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection.
File
- src/
Controller/ PhotosStatisticsUpdateController.php, line 30
Class
- PhotosStatisticsUpdateController
- Class PhotosStatisticsUpdateController.
Namespace
Drupal\photos\ControllerCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}