Add Composer autoloading
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php foreach ($programmes as $p): ?>
|
||||
<?php View::render('programme', ['p' => $p]); ?>
|
||||
<?php \TVGuide\View::render('programme', ['p' => $p]); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
@@ -5,10 +5,9 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<?php foreach ($channels as $channelId => $channel): ?>
|
||||
<?php View::render('channel', [
|
||||
<?php \TVGuide\View::render('channel', [
|
||||
'channelId' => $channelId,
|
||||
'channel' => $channel,
|
||||
'programmes' => $programmes[$channelId] ?? []
|
||||
]); ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user