src/Mappable.php
protected function mapAttribute($key)
    {
        $segments = explode('.', $this->getMappingForAttribute($key));

        return $this->getTarget($this, $segments);
    }
protected function mapAttribute($key)
    {
        $segments = explode('.', $this->getMappingForAttribute($key));

        return $this->getTarget($this, $segments);
    }
protected function mapAttribute ( $ key ) { $ segments = explode ( '.' , $ this -> getMappingForAttribute ( $ key ) ) ; return $ this -> getTarget ( $ this , $ segments ) ; }
Map an attribute to a value.

@param  string $key
@return mixed
Map an attribute to a value .