src/Library.php
public function getName()
    {
        if ($this->name) {
            return $this->name;
        }
        // Get from composer
        $json = $this->getJson();
        if (isset($json['name'])) {
            $this->name = $json['name'];
        }
        return $this->name;
    }
public function getName()
    {
        if ($this->name) {
            return $this->name;
        }
        // Get from composer
        $json = $this->getJson();
        if (isset($json['name'])) {
            $this->name = $json['name'];
        }
        return $this->name;
    }
public function getName ( ) { if ( $ this -> name ) { return $ this -> name ; } // Get from composer $ json = $ this -> getJson ( ) ; if ( isset ( $ json [ 'name' ] ) ) { $ this -> name = $ json [ 'name' ] ; } return $ this -> name ; }
Get module name

@return string
Get module name