public function get($name, array $parameters = [], $flag = false)
    {
        return $flag ? $this->getContainer()->instance($name, $parameters) : $this->getContainer()->singleton($name, $parameters);
    }
public function get($name, array $parameters = [], $flag = false)
    {
        return $flag ? $this->getContainer()->instance($name, $parameters) : $this->getContainer()->singleton($name, $parameters);
    }
public function get ( $ name , array $ parameters = [ ] , $ flag = false ) { return $ flag ? $ this -> getContainer ( ) -> instance ( $ name , $ parameters ) : $ this -> getContainer ( ) -> singleton ( $ name , $ parameters ) ; }
Get custom defined helper obj.

@param string $name
@param array $parameters
@param bool  $flag
@return mixed
Get custom defined helper obj .