original_string: public function get_manager( $params )
  	{
  		if ( array_key_exists( 'm', $params ) )
  		{
  			$manager = $params['m'];
  		}
  		else 
  		{
  			$manager = reset( $params );
  		}
  		
  		if ( $manager )
  		{
  			$this->info( 'Using session manager: '.$manager );
  		}
  		else
  		{
  			$manager = null;
  			$this->info( 'Using default session manager.' );
  		}
  		
  		return \CCSession::manager( $manager );
  	}
code: public function get_manager( $params )
  	{
  		if ( array_key_exists( 'm', $params ) )
  		{
  			$manager = $params['m'];
  		}
  		else 
  		{
  			$manager = reset( $params );
  		}
  		
  		if ( $manager )
  		{
  			$this->info( 'Using session manager: '.$manager );
  		}
  		else
  		{
  			$manager = null;
  			$this->info( 'Using default session manager.' );
  		}
  		
  		return \CCSession::manager( $manager );
  	}
code_tokens: public function get_manager ( $ params ) { if ( array_key_exists ( 'm' , $ params ) ) { $ manager = $ params [ 'm' ] ; } else { $ manager = reset ( $ params ) ; } if ( $ manager ) { $ this -> info ( 'Using session manager: ' . $ manager ) ; } else { $ manager = null ; $ this -> info ( 'Using default session manager.' ) ; } return \ CCSession :: manager ( $ manager ) ; }
docstring: Get a manager instance
  
  @param array 				$params
  @return Session\Manager
docstring_tokens: Get a manager instance