Class: DNApi::Components::PHP

Inherits:
Object
  • Object
show all
Includes:
DNApi::Component
Defined in:
lib/dnapi/components/php.rb

Constant Summary collapse

NAME =
'PHP'.freeze
VERSION =
'5.3'.freeze
PATCH_LEVEL =
'9'.freeze

Class Method Summary collapse

Methods included from DNApi::Component

[], #can_belong_to?, components, from, included, #key, #to_hash

Class Method Details

.labelObject



13
14
15
# File 'lib/dnapi/components/php.rb', line 13

def self.label
  "#{NAME} - #{version}"
end

.packageObject



21
22
23
# File 'lib/dnapi/components/php.rb', line 21

def self.package
  'dev-lang/php'
end

.versionObject



17
18
19
# File 'lib/dnapi/components/php.rb', line 17

def self.version
  "#{VERSION}.#{PATCH_LEVEL}"
end