Fakerino\Core\FakeHandler\FileFakerClass::process PHP Method

process() protected method

protected process ( $data )
    protected function process($data)
    {
        $elementName = $data->getName();
        $fakeFilePath = $this->filePath . $this->createFilename($elementName);
        if (file_exists($fakeFilePath)) {
            return $this->getOutput('Fakerino\\FakeData\\Core\\FileFake', $fakeFilePath);
        }
        return;
    }