DataSift\Storyplayer\ConfigLib\HardCodedList::getConfigType PHP Method

getConfigType() public method

returns the classname for the config data that we store
public getConfigType ( ) : string
return string
    public function getConfigType()
    {
        return $this->configType;
    }

Usage Example

 /**
  * @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);
 }