lib/Cloudtek/DynamoDM/Mapping/ClassMetadata.php
public function registerAlsoLoadMethod($method, $attributes)
    {
        $this->alsoLoadMethods[$method] = is_array($attributes) ? $attributes : [$attributes];
    }
public function registerAlsoLoadMethod($method, $attributes)
    {
        $this->alsoLoadMethods[$method] = is_array($attributes) ? $attributes : [$attributes];
    }
public function registerAlsoLoadMethod ( $ method , $ attributes ) { $ this -> alsoLoadMethods [ $ method ] = is_array ( $ attributes ) ? $ attributes : [ $ attributes ] ; }
Registers a method for loading document data before attribute hydration.

Note: A method may be registered multiple times for different attributes.
it will be invoked only once for the first attribute found.

@param string       $method     Method name
@param array|string $attributes Database attribute name(s)
Registers a method for loading document data before attribute hydration .