Skip to content

Commit

Permalink
Added PHPdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrpro committed Nov 5, 2017
1 parent 5850e2d commit 1f48d5f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Twig/Extension/ThemeExtension.php
Expand Up @@ -44,6 +44,8 @@ public function getFunctions()

/**
* Displays Wordpress theme header (and administration menu bar if available).
*
* @param string|null $name
*/
public function getHeader($name = null)
{
Expand All @@ -55,6 +57,8 @@ public function getHeader($name = null)

/**
* Displays Wordpress theme sidebar.
*
* @param string|null $name
*/
public function getSidebar($name = null)
{
Expand All @@ -63,6 +67,8 @@ public function getSidebar($name = null)

/**
* Displays Wordpress theme footer.
*
* @param string|null $name
*/
public function getFooter($name = null)
{
Expand All @@ -71,6 +77,9 @@ public function getFooter($name = null)

/**
* Displays a Wordpress theme template part.
*
* @param string $name
* @param string|null $name
*/
public function getTemplatePart($slug, $name = null)
{
Expand Down

0 comments on commit 1f48d5f

Please sign in to comment.