Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de4cf6e
commit 9cce3fb
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
public function indexAction() | ||
{ | ||
$concertList = [ | ||
[ | ||
'date' => '2015年5月3日', | ||
'time' => '14:00', | ||
'place' => '東京文化会館', | ||
'available' => false, | ||
], | ||
[ | ||
'date' => '2015年7月12日', | ||
'time' => '14:00', | ||
'place' => '鎌倉芸術館', | ||
'available' => true, | ||
], | ||
[ | ||
'date' => '2015年9月20日', | ||
'time' => '15:00', | ||
'place' => '横浜みなとみらいホール', | ||
'available' => true, | ||
], | ||
[ | ||
'date' => '2015年11月8日', | ||
'time' => '15:00', | ||
'place' => 'よこすか芸術劇場', | ||
'available' => false, | ||
], | ||
[ | ||
'date' => '2016年1月10日', | ||
'time' => '14:00', | ||
'place' => '渋谷公会堂', | ||
'available' => true, | ||
], | ||
]; | ||
|
||
return $this->render('Concert/index.html.twig', | ||
['concertList' => $concertList] | ||
); | ||
} |
This file contains 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