updatedSources() public method

All sources that have been updated
public updatedSources ( ) : array
return array
コード例 #1
0
 public function testUpdatedSources()
 {
     $source000 = $this->makeTestSource('TestSource:000');
     $source001 = $this->makeTestSource('TestSource:001', false);
     $source002 = $this->makeTestSource('TestSource:002');
     $sourceSet = new SourceSet(array($source000, $source001, $source002));
     $this->assertEquals(array('TestSource:000' => $source000, 'TestSource:002' => $source002), $sourceSet->updatedSources());
 }
コード例 #2
0
 /**
  * Updated sources
  *
  * @return array
  */
 public function updatedSources()
 {
     return $this->sourceSet->updatedSources();
 }