\ComposerHelper

Composer helper

Add your application-wide methods in the class below, your helpers will inherit them.

Summary

Methods
Properties
Constants
getComposer()
getAuthors()
getDescription()
$helpers
No constants found
No protected methods found
No protected properties found
N/A
__getComposer()
$__plugins
N/A

Properties

$helpers

$helpers : array

use helpers

Type

array

$__plugins

$__plugins : array

Plugin composer data

Type

array

Methods

getComposer()

getComposer(string  $plugin, string  $key = null, mixed  $default = null) : string|array

composer.jsonからデータ取得

Parameters

string $plugin

プラグインkey

string $key

Composerのkey

mixed $default

デフォルト値

Returns

string|array —

Composerの値

getAuthors()

getAuthors(string  $plugin, array  $options = array()) : string|array

Get the container size for layout

Parameters

string $plugin

Plugin path

array $options

Option data

Returns

string|array —

Composer value

getDescription()

getDescription(string  $plugin) : string|array

Get the container size for layout

Parameters

string $plugin

Plugin path

Returns

string|array —

Composer value

__getComposer()

__getComposer(string  $plugin) : string|array

Get the composer.json

Parameters

string $plugin

Plugin path

Returns

string|array —

Composer value