Home > Backend Development > PHP Tutorial > How does the slim framework create a controller layer?

How does the slim framework create a controller layer?

WBOY
Release: 2016-08-10 09:07:19
Original
1192 people have browsed it

How does the slim framework create a controller layer?
This is the effect I want to achieve

Reply content:

How does the slim framework create a controller layer?
This is the effect I want to achieve

<code>$app->get('/test', '\HomeController:show');</code>
Copy after login

The document clearly explains how to create a controller

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template