my-portfolio/dist/api/blog/blogRoutes.php

20 lines
376 B
PHP

<?php
namespace api\blog;
use Slim\App;
class blogRoutes implements \api\utils\routesInterface
{
private blogData $blogData;
public function __construct(App $app)
{
$this->blogData = new blogData();
$this->createRoutes($app);
}
public function createRoutes(App $app): void
{
// TODO: Implement createRoutes() method.
}
}