src/console/session.php
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 );
	}
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 );
	}
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 ) ; }
Get a manager instance

@param array 				$params
@return Session\Manager
Get a manager instance