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
<?php | |
namespace Walmen\AnnonymousBundle\Annotations\Driver; | |
use Doctrine\Common\Annotations\Reader; | |
use Symfony\Component\Security\Core\SecurityContext; | |
use Symfony\Component\HttpKernel\Event\FilterControllerEvent; | |
use Symfony\Component\HttpKernel\Event\FilterResponseEvent; | |
use Symfony\Component\HttpFoundation\RedirectResponse; | |
use Symfony\Bundle\FrameworkBundle\Routing\Router; |
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
<?php | |
namespace Acme\Bundle\Doctrine\Filter; | |
use Doctrine\ORM\Mapping\ClassMetaData, | |
Doctrine\ORM\Query\Filter\SQLFilter, | |
Doctrine\ORM\EntityManager, | |
Doctrine\DBAL\Types\Type as DBALType; | |
/** |
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
<?php | |
namespace Acme\Bundle\TranslationBundle\Tests\PHPUnit\Form\Type; | |
use Acme\Bundle\TranslationBundle\Form\Type\LocaleType; | |
/** | |
* Description of LocaleTypeTest | |
* | |
* @author Daniel Waligóra <danielwaligora@gmail.com> |
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
<?php | |
namespace Clearcode\TransparenBundle\Command; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputArgument; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Input\InputOption; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\HttpFoundation\Request; |
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
<?php | |
namespace Slate\Media\CommonsBundle\Manager; | |
use Symfony\Bundle\FrameworkBundle\Routing\Router; | |
use Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher; | |
use Webility\Bundle\remoteStorageBundle\Services\Storage; | |
use Webility\Bundle\WebilityBundle\Entity\Repository\File; | |
use Webility\Bundle\WebilityBundle\Entity\Superclasses\Entity; |
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
public function getCourses(Application $app, User $user, SchoolSemester $semester, $startDate, $endDate, $include) | |
{ | |
$startDate = Carbon::createFromTimestamp($startDate); | |
$startDate = $startDate->startOfDay(); | |
$endDate = Carbon::createFromTimestamp($endDate); | |
$endDate = $endDate->endOfDay(); | |
$includeHomeworks = in_array('homeworks', $include); | |
$startOfSemesterProjection = Carbon::createFromTimestamp( |
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
<div class="week-timetable" style="overflow-y: scroll"> | |
<div class="grid-right"> | |
<div class="day-row"> | |
<div class="day-col" data-ng-repeat="day in $parent.timetable.days"> | |
<h1 data-ng-click="go('/calendar/day/' + day.date, 'fade')">{{ day.name }}</h1> | |
</div> | |
</div> | |
<div class="time-row" data-ng-repeat="obj in $parent.timetable.slots"> | |
<div data-ng-repeat="slot in obj"> | |
<div data-ng-if="!slot.is_break"> |
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
<?php | |
namespace Nexus\Media\FrontendBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; | |
use Symfony\Component\HttpFoundation\JsonResponse; | |
/** |
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
<?php | |
namespace Nexus\Media\FrontendBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\HttpFoundation\JsonResponse; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
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
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,*/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { | |
require('load-grunt-tasks')(grunt); |
OlderNewer