Elcodi\Bundle\TestCommonBundle\Functional\WebTestCase::getKernelClass PHP Method

getKernelClass() protected static method

When the Kernel is located, the file is required.
protected static getKernelClass ( ) : string
return string The Kernel class name
    protected static function getKernelClass()
    {
        $namespaceExploded = explode('\\Tests\\Functional\\', get_called_class(), 2);
        $kernelClass = $namespaceExploded[0] . '\\Tests\\Functional\\app\\AppKernel';
        return $kernelClass;
    }