PHP Trait LeagueWrap\Dto\ImportStaticTrait

Exibir arquivo Open project: paquettg/leaguewrap

Protected Methods

Method Description
addStaticData ( StaticOptimizer $optimizer ) : void Takes a result array and attempts to fill in any needed static data.
getStaticFields ( ) : array Sets all the static fields in the current dto in the fields and aggrigates it with the child dto fields.

Method Details

addStaticData() protected method

Takes a result array and attempts to fill in any needed static data.
protected addStaticData ( StaticOptimizer $optimizer ) : void
$optimizer LeagueWrap\StaticOptimizer
return void

getStaticFields() protected method

Sets all the static fields in the current dto in the fields and aggrigates it with the child dto fields.
protected getStaticFields ( ) : array
return array