\App\ControllersBlog

Summary

Methods
Properties
Constants
__construct()
list()
auth()
index()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$twig
$blogService
$db
N/A

Properties

$twig

$twig : \Twig\Environment

Type

\Twig\Environment

$blogService

$blogService : \App\Services\BlogService

Type

BlogService

$db

$db : \Framework\Database\DatabaseFactory

Type

\Framework\Database\DatabaseFactory

Methods

__construct()

__construct(\Twig\Environment  $twig, \App\Services\BlogService  $blogService, \Framework\Database\DatabaseFactory  $db) : mixed

Parameters

\Twig\Environment $twig
\App\Services\BlogService $blogService
\Framework\Database\DatabaseFactory $db

Returns

mixed —

list()

list(\Symfony\Component\HttpFoundation\Request  $request) : mixed

Parameters

\Symfony\Component\HttpFoundation\Request $request

Returns

mixed —

auth()

auth(\Symfony\Component\HttpFoundation\Request  $request) : \Symfony\Component\HttpFoundation\Response

Parameters

\Symfony\Component\HttpFoundation\Request $request

Returns

\Symfony\Component\HttpFoundation\Response —

index()

index() : \Symfony\Component\HttpFoundation\Response

Returns

\Symfony\Component\HttpFoundation\Response —