getComposerAttr() 공개 메소드

Get a specific data from composer.json file by given the key.
public getComposerAttr ( $key, null $default = null ) : mixed
$key
$default null
리턴 mixed
예제 #1
0
 /** @test */
 public function it_reads_key_from_composer_json_file_via_helper_method()
 {
     $this->assertEquals('nwidart/recipe', $this->module->getComposerAttr('name'));
 }