DataSift\Storyplayer\ConfigLib\HardCodedList::getConfigType PHP Метод

getConfigType() публичный Метод

returns the classname for the config data that we store
public getConfigType ( ) : string
Результат string
    public function getConfigType()
    {
        return $this->configType;
    }

Usage Example

Пример #1
0
 /**
  * @covers DataSift\Storyplayer\ConfigLib\HardCodedList::__construct
  * @covers DataSift\Storyplayer\ConfigLib\HardCodedList::setConfigType
  * @covers DataSift\Storyplayer\ConfigLib\HardCodedList::getConfigType
  */
 public function testRemembersConfigType()
 {
     // ----------------------------------------------------------------
     // setup the test
     $expected = 'DataSift\\Storyplayer\\ConfigLib\\WrappedConfig';
     // ----------------------------------------------------------------
     // perform the change
     $obj = new HardCodedList($expected);
     // ----------------------------------------------------------------
     // test the results
     $actual = $obj->getConfigType();
     $this->assertEquals($expected, $actual);
 }