PHP Interface Spatie\Menu\HasParentAttributes

Datei anzeigen Open project: spatie/menu

Public Methods

Method Description
addParentClass ( string $class )
parentAttributes ( ) : array Return an array of attributes to apply on the parent. This generally means the attributes that should be applied on the
  • tag.
  • setParentAttribute ( string $attribute, string $value = '' )
    setParentAttributes ( array $attributes )

    Method Details

    addParentClass() public method

    public addParentClass ( string $class )
    $class string

    parentAttributes() public method

    Return an array of attributes to apply on the parent. This generally means the attributes that should be applied on the
  • tag.
  • public parentAttributes ( ) : array
    return array

    setParentAttribute() public method

    public setParentAttribute ( string $attribute, string $value = '' )
    $attribute string
    $value string

    setParentAttributes() public method

    public setParentAttributes ( array $attributes )
    $attributes array