for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Blast Project package.
*
* Copyright (C) 2015-2017 Libre Informatique
* This file is licenced under the GNU LGPL v3.
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Blast\CoreBundle\Dashboard;
class DashboardBlockRegistry
{
/**
* @var array
private $blocks;
public function __construct()
$this->blocks = [];
}
public function registerBlock($block)
$this->blocks[] = $block;
public function getRegistredBlocks()
return $this->blocks;