Contao\CoreBundle\Test\TestCase::getRootDir PHP Method

getRootDir() public method

Returns the path to the fixtures directory.
public getRootDir ( ) : string
return string
    public function getRootDir()
    {
        return __DIR__ . '/Fixtures';
    }

Usage Example

 /**
  * Returns the normalized root directory.
  *
  * @return string
  */
 public function getRootDir()
 {
     return strtr(parent::getRootDir(), '\\', '/');
 }