actionUnload() public method
Unloads the specified fixtures.
For example,
# unload the fixture data specified by User and UserProfile. yii fixture/unload "User, UserProfile" # unload all fixtures found under 'tests\unit\fixtures' yii fixture/unload "*" # unload all fixtures except User and UserProfile yii fixture/unload "*, -User, -UserProfile"
public integer actionUnload ( array $fixturesInput = [] ) | ||
---|---|---|
$fixturesInput | array | |
return | integer |
Return code |
throws | yii\console\Exception |
if the specified fixture does not exist. |
Please login to continue.