Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • AbstractAnnotationLoaderTest
  • AnnotationClassLoaderTest
  • AnnotationDirectoryLoaderTest
  • AnnotationFileLoaderTest
  • ClosureLoaderTest
  • DirectoryLoaderTest
  • ObjectRouteLoaderForTest
  • ObjectRouteLoaderTest
  • PhpFileLoaderTest
  • RouteService
  • XmlFileLoaderTest
  • YamlFileLoaderTest
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: /*
 4:  * This file is part of the Symfony package.
 5:  *
 6:  * (c) Fabien Potencier <[email protected]>
 7:  *
 8:  * For the full copyright and license information, please view the LICENSE
 9:  * file that was distributed with this source code.
10:  */
11: 
12: namespace Symfony\Component\Routing\Tests\Loader;
13: 
14: use PHPUnit\Framework\TestCase;
15: 
16: abstract class AbstractAnnotationLoaderTest extends TestCase
17: {
18:     public function getReader()
19:     {
20:         return $this->getMockBuilder('Doctrine\Common\Annotations\Reader')
21:             ->disableOriginalConstructor()
22:             ->getMock()
23:         ;
24:     }
25: 
26:     public function getClassLoader($reader)
27:     {
28:         return $this->getMockBuilder('Symfony\Component\Routing\Loader\AnnotationClassLoader')
29:             ->setConstructorArgs(array($reader))
30:             ->getMockForAbstractClass()
31:         ;
32:     }
33: }
34: 
Ratchet API documentation generated by ApiGen 2.8.0