PHP Class Lemon\RestBundle\Tests\FunctionalTestCase

Inheritance: extends Symfony\Bundle\FrameworkBundle\Test\WebTestCase
Show file Open project: stanlemon/rest-bundle Class Usage Examples

Protected Properties

Property Type Description
$client Symfony\Bundle\FrameworkBundle\Client
$container Symfony\Component\DependencyInjection\ContainerInterface
$doctrine Doctrine\Bundle\DoctrineBundle\Registry
$em Doctrine\ORM\EntityManager
$serializer JMS\Serializer\Serializer

Public Methods

Method Description
setUp ( )
tearDown ( )

Protected Methods

Method Description
getKernelClass ( )
makeRequest ( string $method, string $uri, string | null $content = null, $parameters = [], $server = [] ) : Request

Method Details

getKernelClass() protected static method

protected static getKernelClass ( )

makeRequest() protected method

protected makeRequest ( string $method, string $uri, string | null $content = null, $parameters = [], $server = [] ) : Request
$method string
$uri string
$content string | null
return Symfony\Component\HttpFoundation\Request

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

Property Details

$client protected property

protected Client,Symfony\Bundle\FrameworkBundle $client
return Symfony\Bundle\FrameworkBundle\Client

$container protected property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
return Symfony\Component\DependencyInjection\ContainerInterface

$doctrine protected property

protected Registry,Doctrine\Bundle\DoctrineBundle $doctrine
return Doctrine\Bundle\DoctrineBundle\Registry

$em protected property

protected EntityManager,Doctrine\ORM $em
return Doctrine\ORM\EntityManager

$serializer protected property

protected Serializer,JMS\Serializer $serializer
return JMS\Serializer\Serializer