Scientist\Experiment::getLaboratory PHP 메소드

getLaboratory() 공개 메소드

Retrieve the laboratory instance.
public getLaboratory ( ) : Laboratory | null
리턴 Laboratory | null
    public function getLaboratory()
    {
        return $this->laboratory;
    }

Usage Example

예제 #1
0
 public function test_that_an_experiment_laboratory_can_be_set()
 {
     $l = new Laboratory();
     $e = new Experiment('test experiment', $l);
     $this->assertInstanceOf('\\Scientist\\Laboratory', $e->getLaboratory());
     $this->assertSame($l, $e->getLaboratory());
 }
All Usage Examples Of Scientist\Experiment::getLaboratory