PHP Trait Collective\Html\Eloquent\FormAccessible

Show file Open project: laravelcollective/html

Protected Properties

Property Type Description
$reflection ReflectionClass A cached ReflectionClass instance for $this

Public Methods

Method Description
getFormValue ( string $key ) : mixed

Protected Methods

Method Description
getReflection ( ) : ReflectionClass Get a ReflectionClass Instance
hasFormMutator ( $key ) : boolean

Private Methods

Method Description
mutateFormAttribute ( $key, $value ) : mixed

Method Details

getFormValue() public method

public getFormValue ( string $key ) : mixed
$key string
return mixed

getReflection() protected method

Get a ReflectionClass Instance
protected getReflection ( ) : ReflectionClass
return ReflectionClass

hasFormMutator() protected method

protected hasFormMutator ( $key ) : boolean
$key
return boolean

Property Details

$reflection protected property

A cached ReflectionClass instance for $this
protected ReflectionClass $reflection
return ReflectionClass