|
6 | 6 | xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/topic.v2.xsd" |
7 | 7 | title="Create feeds" id="create-feeds" help-id="make-feeds;create-feeds;feeds"> |
8 | 8 |
|
9 | | - <link-summary>Instructions for creating and filling feed, feed items, and feed info classes</link-summary> |
10 | | - <card-summary>Instructions for creating and filling feed, feed items, and feed info classes</card-summary> |
11 | | - <web-summary>Instructions for creating and filling feed, feed items, and feed info classes</web-summary> |
| 9 | + <link-summary>Instructions for creating and populating the feed, feed item, and feed info classes</link-summary> |
| 10 | + <card-summary>Instructions for creating and populating the feed, feed item, and feed info classes</card-summary> |
| 11 | + <web-summary>Instructions for creating and populating the feed, feed item, and feed info classes</web-summary> |
12 | 12 |
|
13 | 13 | <show-structure depth="3" /> |
14 | 14 |
|
|
19 | 19 | <a href="https://www.jetbrains.com/phpstorm/">PhpStorm</a>. |
20 | 20 | </p> |
21 | 21 |
|
22 | | - <img src="laravel-idea.png" dark-src="laravel-idea_dark.png" alt="laravel idea" /> |
| 22 | + <img src="laravel-idea.png" dark-src="laravel-idea_dark.png" alt="Laravel Idea" /> |
23 | 23 | </note> |
24 | 24 |
|
25 | 25 | <p> |
|
35 | 35 | </p> |
36 | 36 |
|
37 | 37 | <p> |
38 | | - Also, this console command can create classes of the element and information along with the feed class. |
39 | | - To do this, use <code>--item</code> and <code>--info</code> parameters. |
| 38 | + This console command can also create the item and info classes along with the feed class. |
| 39 | + To do this, use the <code>--item</code> and <code>--info</code> options. |
40 | 40 | </p> |
41 | 41 |
|
42 | 42 | <code-block lang="bash"> |
43 | | - # Create a feed class and information class |
| 43 | + # Create a feed class and info class |
44 | 44 | %command-make% --info |
45 | 45 |
|
46 | 46 | # Create a feed class and item class |
47 | 47 | %command-make% --item |
48 | 48 |
|
49 | | - # Create a feed class, item class and information class |
| 49 | + # Create a feed class, item class, and info class |
50 | 50 | %command-make% --item --info |
51 | 51 | </code-block> |
52 | 52 |
|
53 | 53 | <p> |
54 | 54 | Shortcuts are also available: |
55 | 55 | </p> |
56 | 56 |
|
57 | | - <code-block lang="bash"> |
| 57 | + <code-block lang="bash"> |
58 | 58 | # Create a feed class and item class |
59 | 59 | %command-make% -%command-shortcut-item% |
60 | 60 |
|
61 | 61 | # Create a feed class and info class |
62 | 62 | %command-make% -%command-shortcut-info% |
63 | 63 |
|
64 | | - # Create a feed class, item class and information class |
| 64 | + # Create a feed class, item class, and info class |
65 | 65 | %command-make% -%command-shortcut-info%%command-shortcut-item% |
66 | 66 | </code-block> |
67 | 67 |
|
68 | 68 | <note> |
69 | 69 | <p> |
70 | | - When creating a feed, an operation/migration will also be created to add it to the database. |
| 70 | + When creating a feed, an operation or a migration will also be created to add it to the database. |
71 | 71 | </p> |
72 | 72 |
|
73 | 73 | <p> |
74 | | - If the project uses the |
| 74 | + If the project uses |
75 | 75 | <a href="https://deploy-operations.dragon-code.pro"> |
76 | 76 | <format style="bold">Laravel Deploy Operations</format> |
77 | | - </a> |
78 | | - , then an operation class will be created, otherwise a migration class will be created. |
| 77 | + </a>, then an operation class will be created; otherwise, a migration class will be created. |
79 | 78 | </p> |
80 | 79 |
|
81 | 80 | <p> |
82 | | - This is necessary to add and manage information about feeds in the database. |
| 81 | + This is required to add and manage feed information in the database. |
83 | 82 | </p> |
84 | 83 | </note> |
85 | 84 |
|
86 | | - <chapter title="Filling feeds" id="fill_feeds"> |
| 85 | + <chapter title="Populating feeds" id="fill_feeds"> |
87 | 86 | <chapter title="Feed" id="feed"> |
88 | 87 | <p> |
89 | | - Fill in the main feed class. For example: |
| 88 | + Populate the main feed class. For example: |
90 | 89 | </p> |
91 | 90 |
|
92 | 91 | <code-block lang="php" src="create-feeds-feed.php" include-lines="5-" /> |
93 | 92 |
|
94 | | - <chapter title="Feed Item" id="feed_item"> |
| 93 | + <chapter title="Feed item" id="feed_item"> |
95 | 94 | <p> |
96 | | - Fill in the feed item class. For example: |
| 95 | + Populate the feed item class. For example: |
97 | 96 | </p> |
98 | 97 |
|
99 | 98 | <code-block lang="php" src="generation-feed-item.php" include-lines="5-" /> |
|
0 commit comments