Files
afup/sources/AppBundle/Controller/BlocksHandler.php

34 lines
599 B
PHP

<?php
namespace AppBundle\Controller;
class BlocksHandler
{
/** @var array<string, string> */
protected $defaultBlocks = [];
/**
* @param array{
* community: string,
* header: string,
* sidebar: string,
* social: string,
* footer: string
* }
*
* @return void
*/
public function setDefaultBlocks(array $blocks)
{
$this->defaultBlocks = $blocks;
}
/**
* @return array<string, string>
*/
public function getDefaultBlocks()
{
return $this->defaultBlocks;
}
}