- Mastering Symfony
- Sohail Salehi
- 198字
- 2021-07-16 11:28:55
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "We can inherit other templates through the use of the extends()
tag."
A block of code is set as follows:
public function aboutAction($name) { $em = $this->container->get('doctrine')->getManager(); $repo = $em->getRepository('ProjectBundle:Assignee'); $photographer = $repo->findOneBy(array('name' =>$name)); return $this->render('ProjectBundle:Default:about.html.twig', array('Assignee' =>$Assignee)); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
public function aboutAction($name)
{
$em = $this->container->get('doctrine')->getManager();
$repo = $em->getRepository('ProjectBundle:Assignee');
$photographer = $repo->findOneBy(array('name' =>$name));
return $this->render('ProjectBundle:Default:about.html.twig',
array('Assignee' =>$Assignee));
}
Any command-line input or output is written as follows:
app/console doctrine:fixtures:load --append
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "in Symfonyprofiler page click on the Security button to see if the current user is authenticated".
- Expert C++
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- 自制編譯器
- Building a RESTful Web Service with Spring
- MongoDB for Java Developers
- Blockly創意趣味編程
- QTP自動化測試進階
- Instant Ext.NET Application Development
- Learning Concurrent Programming in Scala
- OpenCV with Python Blueprints
- 單片機原理及應用技術
- JQuery風暴:完美用戶體驗
- JavaWeb從入門到精通(視頻實戰版)
- Qt 5.12實戰
- Clojure編程樂趣