private function findInternalClient()
	{
		// create model and fetch applications matching fitlers
		$application = \Components\Developer\Models\Application::all()
			->whereEquals('hub_account', 1)
			->row();

		// make sure we have at least one 
		// although it should always only be one
		if (!$application->get('id'))
		{
			return false;
		}

		// return first as an array
		return $application->toArray();
	}
private function findInternalClient()
	{
		// create model and fetch applications matching fitlers
		$application = \Components\Developer\Models\Application::all()
			->whereEquals('hub_account', 1)
			->row();

		// make sure we have at least one 
		// although it should always only be one
		if (!$application->get('id'))
		{
			return false;
		}

		// return first as an array
		return $application->toArray();
	}
private function findInternalClient ( ) { // create model and fetch applications matching fitlers $ application = \ Components \ Developer \ Models \ Application :: all ( ) -> whereEquals ( 'hub_account' , 1 ) -> row ( ) ; // make sure we have at least one  // although it should always only be one if ( ! $ application -> get ( 'id' ) ) { return false ; } // return first as an array return $ application -> toArray ( ) ; }
Find Internal Client

In separate function so we can call it multiple times.

@return  array  Client detials
Find Internal Client