@@ -210,7 +210,7 @@ trait ReadOnly
210
210
</code></pre>
211
211
</div>
212
212
<p>Implementing the <a href="https://github.com/mvc5/mvc5/blob/master/src/Config/Model.php">model</a> interface allows a
213
- component to only have to specify its immutable methods.</p>
213
+ component to specify only its immutable methods.</p>
214
214
<div class="language-php highlighter-rouge"><pre class="highlight"><code>interface Route
215
215
extends Model
216
216
{
@@ -528,7 +528,7 @@ $this->without(['foo', 'baz']);
528
528
href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L43">delegate</a> function is <a
529
529
href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L56">returned</a> as the result;
530
530
otherwise null is <a href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L56">returned</a>.
531
- This allows middleware functions to be easily created and for them to vary the arguments passed to the <a
531
+ This allows middleware functions to be easily created and to vary the arguments passed to the <a
532
532
href="https://github.com/mvc5/mvc5/blob/master/src/Service/Middleware.php#L62">next</a> function.</p>
533
533
<div class="language-php highlighter-rouge"><pre class="highlight"><code>function __invoke(Route $route, Request $request, callable $next)
534
534
{
@@ -588,9 +588,8 @@ $this->without(['foo', 'baz']);
588
588
<p><a href="#routes">Routes</a> can be configured with <a
589
589
href="https://github.com/mvc5/mvc5/blob/master/src/Middleware.php">middleware</a> pipelines and (optionally)
590
590
a controller. During the <a href="https://github.com/mvc5/mvc5/blob/master/config/middleware.php#L7">route match</a>
591
- process the child stack is <a
592
- href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Merge.php#L26">appended</a> to the parent
593
- stack. When the <a href="https://github.com/mvc5/mvc5/blob/master/src/Route/Route.php">route</a> is <a
591
+ process, the child stack is <a href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Merge.php#L26">appended</a>
592
+ to the parent stack. When the <a href="https://github.com/mvc5/mvc5/blob/master/src/Route/Route.php">route</a> is <a
594
593
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Path.php#L56">matched</a>, the <a
595
594
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Route.php#L38">controller</a> is <a
596
595
href="https://github.com/mvc5/mvc5/blob/master/src/Route/Match/Middleware.php#L52">appended</a> to the
@@ -897,8 +896,8 @@ $app->call('dashboard->home', ['form' => []]);
897
896
</div>
898
897
<p>A <a href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Container.php">container</a> can contain any type of
899
898
value, except for <a href="http://php.net/manual/en/language.types.null.php">null</a>; in which case the <a
900
- href="#maybe">maybe</a> and <a href="#nullable">nullable< /a> plugins can be used. A parent container can
901
- also pass itself to a child container as the service <a
899
+ href="#nullvalue">null value< /a> plugin can be used. A parent container can also pass itself to a child
900
+ container as the service <a
902
901
href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Resolver.php#L73">provider</a> to use when the
903
902
child container cannot retrieve or resolve a particular value. The parent container can also configure the <a
904
903
href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Resolver.php#L75">scope</a> of an anonymous
@@ -913,9 +912,8 @@ $app->call('dashboard->home', ['form' => []]);
913
912
injection</a>.</p>
914
913
915
914
<h3 id="plugins">Plugins</h3>
916
- <p>Plugins are <a href="https://github.com/mvc5/mvc5/blob/master/src/Resolver/Resolver.php#L412">resolved</a> can
917
- perform a variety of tasks and be nested together to form a composite plugin. Various types of plugins are available
918
- and custom plugins can also be created.</p>
915
+ <p>Plugins can perform a variety of tasks and be nested together to form a composite plugin. Various types of plugins
916
+ are available and custom plugins can also be created.</p>
919
917
<h5 id="app"><a href="https://github.com/mvc5/mvc5/blob/master/src/Plugin/App.php">App</a></h5>
920
918
<div class="language-php highlighter-rouge"><pre class="highlight"><code>'dashboard' => new App(new FileInclude(__DIR__ . '/dashboard.php')),
921
919
</code></pre>
0 commit comments