コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function addBlocks(DashboardBlockInterface $block)
 {
     $block->setDashboard($this);
     $this->blocks[] = $block;
     return $this;
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function addBlocks(DashboardBlockInterface $blocs)
 {
     $blocs->setDashboard($this);
     $this->blocks[] = $blocs;
 }