PHP Class Phalcon\Test\Mvc\Model\Behavior\Helper

Author: Serghei Iakovlev ([email protected])
Inheritance: extends Codeception\TestCase\Test, use trait Codeception\Specify
Datei anzeigen Open project: phalcon/incubator

Protected Properties

Property Type Description
$previousDependencyInjector Phalcon\DiInterface
$tester UnitTester UnitTester Object

Protected Methods

Method Description
_after ( ) executed after each test
_before ( ) executed before each test
checkIntegrity ( integer | null $rootId = null ) Checking the integrity of keys
createTree ( )
getConnection ( ) : Phalcon\Db\AdapterInterface
getDbPdo ( ) : Pdo
getProperty ( $propertyName, NestedSet $behavior )
prettifyRoots ( $multipleTrees = true )
truncateTable ( $table )

Method Details

_after() protected method

executed after each test
protected _after ( )

_before() protected method

executed before each test
protected _before ( )

checkIntegrity() protected method

Checking the integrity of keys
protected checkIntegrity ( integer | null $rootId = null )
$rootId integer | null

createTree() protected method

protected createTree ( )

getConnection() protected method

protected getConnection ( ) : Phalcon\Db\AdapterInterface
return Phalcon\Db\AdapterInterface

getDbPdo() protected method

protected getDbPdo ( ) : Pdo
return Pdo

getProperty() protected method

protected getProperty ( $propertyName, NestedSet $behavior )
$behavior Phalcon\Mvc\Model\Behavior\NestedSet

prettifyRoots() protected method

protected prettifyRoots ( $multipleTrees = true )

truncateTable() protected method

protected truncateTable ( $table )

Property Details

$previousDependencyInjector protected_oe property

protected DiInterface,Phalcon $previousDependencyInjector
return Phalcon\DiInterface

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
return UnitTester