PHP Class Knp\Bundle\KnpBundlesBundle\Twig\Extension\BundleUtilsExtension

Inheritance: extends Twig_Extension
Afficher le fichier Open project: KnpLabs/KnpBundles

Méthodes publiques

Méthode Description
bundleActivity ( mixed $lastCommitAt ) : string Get bundle activity title by days number after last commit
bundleActivityIcon ( string $activityType ) : string
bundleActivityMessage ( Activity $activity, string $type = 'long' ) : string
bundleGithubUrl ( Bundle $bundle, $urlType = 'http' )
bundlePackagistUrl ( Bundle $bundle )
bundleStateTooltip ( string $state ) : string Display help message about bundle state
bundleTravisUrl ( Bundle $bundle )
getFilters ( ) : array
getFunctions ( ) : array
getName ( ) : string Returns the name of the extension.

Method Details

bundleActivity() public méthode

Get bundle activity title by days number after last commit
public bundleActivity ( mixed $lastCommitAt ) : string
$lastCommitAt mixed
Résultat string

bundleActivityIcon() public méthode

public bundleActivityIcon ( string $activityType ) : string
$activityType string
Résultat string

bundleActivityMessage() public méthode

public bundleActivityMessage ( Activity $activity, string $type = 'long' ) : string
$activity Knp\Bundle\KnpBundlesBundle\Entity\Activity
$type string
Résultat string

bundleGithubUrl() public méthode

public bundleGithubUrl ( Bundle $bundle, $urlType = 'http' )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

bundlePackagistUrl() public méthode

public bundlePackagistUrl ( Bundle $bundle )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

bundleStateTooltip() public méthode

Display help message about bundle state
public bundleStateTooltip ( string $state ) : string
$state string
Résultat string

bundleTravisUrl() public méthode

public bundleTravisUrl ( Bundle $bundle )
$bundle Knp\Bundle\KnpBundlesBundle\Entity\Bundle

getFilters() public méthode

public getFilters ( ) : array
Résultat array

getFunctions() public méthode

public getFunctions ( ) : array
Résultat array

getName() public méthode

Returns the name of the extension.
public getName ( ) : string
Résultat string The extension name