Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Slim 3 MVC フレームワークで Web サイトを構築しています。コントローラーによく使用される関数を呼び出す必要があります (例: ページ タイトルのエイリアスには、 という関数を使用していますfunction getAlias(){.....})。
function getAlias(){.....}
これらの関数をどこで作成する必要がありますか? 内部コントローラーを呼び出すにはどうすればよいですか?