PHP Interface Sulu\Bundle\DocumentManagerBundle\DataFixtures\DocumentFixtureInterface

显示文件 Open project: sulu/sulu

Public Methods

Method Description
getOrder ( ) : integer Return an integer by which the order will be determined in accordance with the values returned by other fixtures.
load ( Sulu\Component\DocumentManager\DocumentManager $documentManager ) Load fixtures.

Method Details

getOrder() public method

Return an integer by which the order will be determined in accordance with the values returned by other fixtures.
public getOrder ( ) : integer
return integer

load() public method

Use the document manager to create and save fixtures. Be sure to call DocumentManager#save() when you are done.
public load ( Sulu\Component\DocumentManager\DocumentManager $documentManager )
$documentManager Sulu\Component\DocumentManager\DocumentManager