for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BestIt\KitchensinkBundle\Tests;
use BestIt\KitchensinkBundle\DataProviderInterface;
/**
* Fale class for tests.
* @author blange <[email protected]>
* @category Tests
* @package BestIt\KitchensinkBundle
* @version $id4
*/
class DataProviderFake implements DataProviderInterface
{
* Fake direct getter.
* @return string
public function bar(): string
return __METHOD__;
}
* Fake getter method.
public function getFoobar()
* Fake getter method with snake case.
public function getFoobarBaz()
* Returns an array with template vars (and optional their getters) to fill the kitchensink template.
* @return array
public function getTemplateVars(): array
return [
'foo' => 'bar',
'foobar',
'foobarBaz'
];