Last active
September 7, 2017 05:01
-
-
Save developerdino/a6a7a3a52120e0fc239b5c9bff16382c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ArticleController | |
{ | |
/** | |
* Display the specified resource. | |
* | |
* @param \App\Article $article | |
* | |
* @return ArticleResource | |
*/ | |
public function show(Article $article) | |
{ | |
return new ArticleResource($article); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment