public function getRandom( $config = [] ) {

		$offset			= $config[ 'offset' ] ?? 0;
		$limit			= $config[ 'limit' ] ?? 10;
		$conditions		= $config[ 'conditions' ] ?? null;

		// model class
		$modelClass		= static::$modelClass;

		// query generation
		$results		= [];

		$query			= $modelClass::find();

		if( isset( $conditions ) ) {

			foreach ( $conditions as $ckey => $condition ) {

				if( is_numeric( $ckey ) ) {

					$query->andWhere( $condition );

					unset( $conditions[ $ckey ] );
				}
			}

			$query->andWhere( $conditions );
		}

		// Randomise -----------

		$query = $query->orderBy( 'RAND()' );

		// Offset --------------

		if( $offset > 0 ) {

			$query->offset( $offset );
		}

		// Limit ---------------

		if( $limit > 0 ) {

			$query->limit( $limit );
		}

		$results = $query->all();

		return $results;
	}