Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 1002 Bytes

File metadata and controls

43 lines (22 loc) · 1002 Bytes
layout doc
title Fixtures - Codeception - Documentation

Codeception\Util\Fixtures

Really basic class to store data in global array and use it in Cests/Tests.

{% highlight php %}

'davert']); Fixtures::get('user1'); ?>

{% endhighlight %}

add()

public static add($name, $data)

See source

cleanup()

public static cleanup()

See source

get()

public static get($name)

See source

 

Reference is taken from the source code. Help us to improve documentation. Edit module reference