src/Phossa2/Logger/Processor/InterpolateProcessor.php
protected function getSubPart(
        /*# string */ $name,
        /*# string */ $placeholder,
        $data
    )/*# : string */ {
        list(, $second) = explode('.', $name, 2);

        $arr = (array) $data;
        if (isset($arr[$second])) {
            return $arr[$second];
        }

        return $placeholder;
    }
protected function getSubPart(
        /*# string */ $name,
        /*# string */ $placeholder,
        $data
    )/*# : string */ {
        list(, $second) = explode('.', $name, 2);

        $arr = (array) $data;
        if (isset($arr[$second])) {
            return $arr[$second];
        }

        return $placeholder;
    }
protected function getSubPart ( /*# string */ $ name , /*# string */ $ placeholder , $ data ) /*# : string */ { list ( , $ second ) = explode ( '.' , $ name , 2 ) ; $ arr = ( array ) $ data ; if ( isset ( $ arr [ $ second ] ) ) { return $ arr [ $ second ] ; } return $ placeholder ; }
Get 'user.name' type of result, only support 2 level

@param  string $name
@param  string $placeholder used only if nothing matched
@param  mixed $data
@return string
@access protected
Get user . name type of result only support 2 level